Doctype
.
How to Fix
Always add the < !DOCTYPE > declaration to your HTML documents, so that the browser knows what type of document to expect. This declaration must be the very first thing in your HTML document, before the < html > tag. You can see below the most common < !DOCTYPE > declarations:
- HTML 5:
- HTML 4.01 Strict:
- HTML 4.01 Transitional:
- XHTML 1.0 Strict:
- XHTML 1.0 Transitional:
- XHTML 1.1: