Html5 tags and html5 tags
Html5
1. Statement
Html5: The fifth major modification to the core language and HTML specification of the World Wide Web. HTML5 is the next version of the HTML standard.
HTML5 simplifies many subtle syntaxes, such as the doctype statement. You only need to write <! Doctype html>
2. semantic labels of Layout
Article: Tag loading displays the content of an independent article, such as an article, report, or novel.
Section: a section (section, section) in a tag definition document, for example, a section in a novel.
Aside: used to load non-body content and describe the topic content.
Header: The page header of the tag definition document, which is usually the guiding and navigation information.
Footer: Label defines the footer of a section or document.
Nav: Label definition display navigation link
Time: defines the date or time, or both.
Main: Specifies the main content of the document. Note: More than one <main> element cannot appear in the document.
Progress: progress bar property: max: progress completion value
Value: defines the current progress value.
Mark: mark the text to be highlighted
Use Cases:
3. Media combination tags
Figure> figcaption <figure>: tags contain independent media content, such as photo images, charts, and photos, the <figcaption> label defines the title (captio) details> summary <details> label of the figure element to describe the details of a document or part of the document, this detail does not need to be displayed when the document is loaded, but can be folded. Attribute: open defines whether the details is visible. <summary> the title of the default details element datalist> option input box prompts that the attribute value of the list attribute in the values table input is the id of datalist.