HTML DOCTYPE Declaration
A Document Type Declaration, or DOCTYPE, is an instruction to the web browser about the version of markup language in which a page is written.
The DOCTYPE declaration appears at the top of a web page before all other elements.
According to the HTML specification or standards, every HTML document requires a valid document type declaration to ensure that your web pages are displayed the way they are intended to be displayed.