<!DOCTYPE html>
is the doctype for the document. It basically tells the web browser how to render the page. Failing to use DOCTYPE or using a wrong DOCTYPE may load your page in Quirks Mode. Quirks mode also known as Compatibility Mode – means your web page is running without a document type declared.