The block tags in html5 are: 1. "", which defines the document header; 2. ""; 3. "
The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.
New block tags in html5
New block-level elements: header, section, footer, aside, nav, main, The article, figure
tags define the header (introduction information) of the document.
The tag defines a section (section, section) in the document. Such as chapters, headers, footers, or other parts of the document.
tag defines the footer of a document or section. Should contain information about the elements it contains. Footers typically contain the document's author, copyright information, links to terms of use, contact information, and more. You can use multiple
tag.
The tag defines content outside of the content in which it appears. Its content should be relevant to nearby content. Can be used as sidebar.
The tag defines the portion of the navigation link.
tag specifies the main content of the document. The content within its elements should be unique to the document. It should not contain content that appears repeatedly throughout the document, such as sidebars, navigation bars, copyright information, site logos, or search forms.
In a document, more than one element cannot appear.
The element cannot be a descendant of: ,
tag specifies independent self-contained content. Potential sources of elements: forum posts, newspaper articles, blog entries, user comments. The
tag specifies independent stream content (images, charts, photos, code, etc.).
Related recommendations: "html video tutorial"
The above is the detailed content of What are the block tags in html5. For more information, please follow other related articles on the PHP Chinese website!
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn