HTML5 Structural elements: article

Source: Internet
Author: User

Article:

Represents a part of a page formed by a self-contained component in a document, page, application, or site, and is specifically designed to be categorized or reused independently. (Example: A blog post, an article, a video file, etc.) )
As with <nav>, the title is inside this element, such as: instance one:
<article>
<p>blah blah</p>
</article>
Such a writing is not correct in the rules and should be written as follows:

<article>      <H1>My article</H1>      <P>blah blah</P>    </article><!DOCTYPE HTML><HTMLLang=en><Head> <title>.........</title></Head><Body>  <Header>    <H2>......</H2>    <nav>......</nav>  </Header>  <nav>   <H2>.........</H2>   <ul>    <Li><ahref= "#">.........</a></Li>    <Li><ahref= "#">.........</a></Li>   </ul>  </nav>  <article>   <H1>.........</H1>   <P>.........</P>  </article>  <article>   <H1>.........</H1>   <P>.........</P>  </article>  <Footer>    <P>     <Small>.........</Small>   </P>  </Footer></Body>
View Code

HTML5 Structural elements: article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.