Doctype Declaration
The DOCTYPE declaration is used to inform the visitor’s web browser that the document being rendered is an HTML document. Every HTML document should be with a DOCTYPE declaration to be compliant with HTML standards. Without the DOCTYPE, we are forcing the browsers to render in Quirks Mode. DOCTYPE is partially used by the browsers to determine dialect and parsing. This is why HTML5 has reduced the DOCTYPE to simply.