HTML <!DOCTYPE>
query_builder | Christopher PisaniWhy use <!DOCTYPE html>
When DOCTYPE is declared, the browser will know, what code language you are using, to start parsing the data supplied.
When DOCTYPE is not declared, although it LOOKS like it still works, the browser falls in what is known as the quirks mode. This means that the browser will run in a backward compatibility mode, to render the document designed for old web browsers instead of strictly complying with W3C and IETF standards in standards mode. It will most often, show significantly different results, especially from different browsers.
DOCTYPE recommended template :
<!DOCTYPE html>
<html>
<head>
<title>An HTML standard template</title>
<meta charset="utf-8" />
</head>
<body>
<p>… Your HTML content goes here …</p>
</body>
</html>
Attributes
No more attributes are available for this element