1. Theme structure elements: article section time pubdate Property Nav aside
Article usage: Used to denote an independent structure;
Section usage: A thing may have several parts, each one of which can be composed of sections;
Article and section differences: article is a special case of section, article more emphasis on independence from other departments, sections emphasize fragmentation and chunking.
Time Usage:
<pubdate datetime= "2014/09/01t21:51z"> My blog record time is September 1 </ time>
The Pubdate property is to indicate that the time element represents the published date of the article or the entire page.
2. Non-subject structure elements: header footer Hggroup address
The non-subject structure is more common and the semantics is clearer, the less familiar may be the hggroup element, its application scenario is: The article also needs title sub-title or lower-level title
Note: The above structural elements are only meant to represent the structure, and the div and other common tags are used to represent the content
Examples of the above elements:
1 <HTML>2 <Head>3 <MetaCharSet= "Utf-8">4 <title></title>5 <styletype= "Text/css">6 Body{Border:dotted 1px gray;}7 Article,header{width:800px;margin:0 Auto;}8 ul Li{List-style-type:None;Display:Table-cell;padding:10px;Font:20px Bold;}9 ul Li>a{text-decoration:None; }Ten </style> One </Head> A <Body> - <articlestyle=""> the <Header> - <Hgroup> - <H1>Article Main Title</H1> - <H2>Article Sub-title</H2> + <P>< Timepubdate datetime= "2014/09/01">2014/09/01</ Time></P> - </Hgroup> + </Header> A < Section> at <H2>China Minsheng Bank</H2> - <P>Account Manager Assistant Account Manager Assistant Account Manager assistant Customer Managers Assistant Account Manager Assistants Account Manager Assistant Account Manager Assistant Account Manager Assistant Account Manager Assistant Account Manager Assistant Account Manager Assistant Account Manager Assistant Account Manager Assistant Client Managers assistants Customer Managers assistants Customer Managers Assistants Account Manager Assistant Account Manager Assistant Account Manager Assistant Account Manager Assistant Account Manager assistants</P> - </ Section> - < Section> - <H2>China Minsheng Bank</H2> in <P>Account Manager Assistant Account Manager Assistant Account Manager assistant Customer Managers Assistant Account Manager Assistants Account Manager Assistant Account Manager Assistant Account Manager Assistant Account Manager Assistant Account Manager Assistant Account Manager Assistant Account Manager Assistant Account Manager Assistant Client Managers assistants Customer Managers assistants Customer Managers Assistants Account Manager Assistant Account Manager Assistant Account Manager Assistant Account Manager Assistant Account Manager assistants</P> - </ Section> to </article> + </Body> - </HTML>
HTML5 new structured elements