" tag and the syntax is "". The "" tag tells the browser the HTML specification used in the document, that is, what version of HTML is used; this tag must be located on the first line of the HTML5 document.">
html5 starts with the "" tag and the syntax is "". The "" tag will tell the browser the HTML specification used in the document, that is, what version of HTML is used; this tag must be located on the first line of the HTML5 document.
The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.
html5 starts with the "" tag, which tells the browser the HTML specification used in the document.
doctype is the abbreviation of Document Type. Thedeclaration must be located on the first line in the HTML5 document, that is, before thetag.
The doctype declaration is not an HTML tag; it is an instruction that tells the browser the version of the tag used to write the page.
It is very important to specify the doctype in all HTML documents so that the browser understands the expected document type.
Example:HTML5 document with correct document type (doctype):
标题 显示内容.....
Comments:
Programming Video! !
The above is the detailed content of What tag does html5 start with?. For more information, please follow other related articles on the PHP Chinese website!