New page Structure 1.
2.<nav> defines the progress (process) in the run.
3.<article> defines a separate content area for the page.
4.<section> define sections (section, section) in a document
5.<aside> defines the sidebar content of the page.
6.<footer> defines the footer of a section or document.
Article
The <article> tags provide independent self-contained content.
An article should have its own meaning and it should be possible to distribute it independently of the rest of the site.
Potential sources of <article> elements:
- Forum posts
- Newspaper articles
- Blog entries
- User reviews
<!DOCTYPE HTML><HTML><Head> <MetaCharSet= "Utf-8" /> <title></title></Head><Body> <Header> <H1>My article.</H1> <P>Creation time:< Timedatetime= "2015-07-12"pubdate= "pubdate">2015-07-12</ Time></P> </Header> < Section> <H2>Reader's comments:</H2> <article> <Header> <H3>Reader: A</H3> <P> < Timedatetime= "2015-07-12 10:28:04"pubdate= "pubdate">1 hours ago</ Time> </P> </Header> <P>It's very well written! </P> </article> <article> <Header> <H3>Readers: 002</H3> <P> < Timedatetime= "2015-07-12 09:28:04"pubdate= "pubdate">2 hours ago</ Time> </P> </Header> <P>general-like pull</P> </article> </ Section> <Footer> <Small>Reference footer!! ~</Small> </Footer></Body></HTML>
Section
Definition and usage
<section> tags define the sections (section, section) in the document. such as chapters, headers, footers, or other parts of the document.
section
Not just an ordinary container label. It should be used when a tag is just for styling or for scripting purposes div
. In general, when the element content is explicitly present in the document outline, it section
is applicable.
<article> <Hgroup> <H1>Apple</H1> <H2>Delicious, delicious fruit!</H2> </Hgroup> <P>Apple is the fruit of Apple's apple tree.</P> < Section> <H1>The Red delicacy</H1> <P>These bright red apples are the most common found in many supermarkets.</P> </ Section> < Section> <H1>Green apple</H1> <P>These juicy, green apple make apple pie stuffing.</P> </ Section> </article>
the difference between div section article in HTML5 http://www.qianduan.net/html5-differences-in-the-div-section-article/
Aside definition and usage
The <aside> tag defines what is outside of its content.
The content of the aside should be relevant to nearby content.
<!DOCTYPE HTML><HTML><Head> <MetaCharSet= "en" /> <title></title></Head><Body> <P>My family and I visited the Epcot Center this summer.</P> <aside> <h4>Epcot Center</h4>Epcot Center is a theme park in Florida State's Disney World. </aside></Body></HTML>
Html5–1. Basics