Doctype
Advertisements
Doctype inn HTML
DocType declaration at the top of HTML document specifies the type of document and this document type declaration is required in XML documents. But in HTML it is optional. It is not a HTML element.
Syntax
<!doctype html>
Example
<!doctype html> <html> <body> <p>This is my first Html code.</p> </body> </html>
Google Advertisment