The HTML section

Source: Internet
Author: User

1. Definition

tags define sections (section, section) in a document. such as chapters, headers, footers, or other parts of the document.

2. The difference between Div, section, article

Div:     There is no semantics in itself, as a hook for layout and styling or scripting.

Section: div with semantics, meaningful chunking of content, if complex styles are used, or div

Article: When the element content is aggregated more yanzhiyouwu, the article should be used. An article should have its own meaning and it should be possible to distribute it independently of the rest of the site, such as posts, newspaper articles, blogs, reviews

Semantic enhancements Article > section > Div

Article, section are new tags of HTML5, they have no subordinate relationship, can be nested with each other

3. Other

HTML5 is for the better media, semantic and exist!!!

The HTML section

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.