HTML Document Type is also known as a Doctype declaration.
It informs the web browser about the version of HTML used in the document.
The Doctype declaration is usually placed at the beginning of an HTML document.
It helps the browser to render the web page correctly by following the rules of the HTML version used.
Different versions of HTML have different Doctype declarations.