Speaking before the increase and the abolition of the new HTML5 elements, first look at the question marks omitted elements
Specifically, the mark in three elements:
1 is not allowed to write the closing tag
area、base、br、col、command、embed、hr、img、input、keygen、link、meta、param、source、track、wbr。
2 may be omitted end tag
li、dt、dd、p、rt、rp、optgroup、option、colgroup、thead、tbody、tr、td、th。
3 may be omitted all numerals
html、head、body、colgroup、tbody。
HTML5 new increase and the abolition of the elements
section element
A content block represents a page, such as chapters, other parts of the headers, footers, or page, it can be h1, h2, h3, h4, h5, h6 and other elements used in combination, indicate the document structure.
HTML5 code sample:
<section></section>
HTML4 code sample:
<div>...</div>
article element
It denotes an independent content not related to the context, such as a blog or an article in a newspaper article.
HTML5 code sample:
<article></article>
HTML4 code sample:
<div>...</div>
aside element
Beyond what article represents the elements of content-related article elements of auxiliary information.
header element
The title represents the contents of a page or an entire block of page
hgroup element
The title for the entire page or a page content blocks are combined.
footer elements
Footnotes represents the entire page or a page content block.
nav element
A partial page in the navigation links.
figure elements
Represents a separate piece of streaming content, the document body generally designated streaming content in a single unit. Use figcaption elements add a caption to figure element groups.
The video element
Definition of video, such as movies or other video clip stream
<video src="movie.ogg" controls="controls">video元素</video>
audio elements
Custom audio, such as music or other audio streams y.
<audio src="someaudio.wav">audio元素</audio>
embed elements
Used to insert a variety of multimedia format can be Midi, Wav, AIFF, AU, MP3 and the like.
mark element
Mainly used to render those who want to highlight or highlight text to the user visually.
The new elements in a wide range temporarily described one by one.