HTML5 New structural elements

Source: Internet
Author: User

In this article, we do not talk about the basics of HTML to talk about the new knowledge added in H5

? First of all, let's take a look at H5. Add those new structural elements

Label Description
header page or a header of a chunk in a page, usually some boot and navigation information.
nav Link groups that can be navigated as pages
section a content chunk in a page, usually composed of content and its title
article represents a separate, complete, relevant block of content that can be used independently of the rest of the page using
non-body content is separate from the main content of the page and is deleted without affecting the contents of the page
footer pages or a chunk of a page

? After reading the above tags, we found that the tags themselves do not have their own special features in fact, the Almighty Div can do these things why do you want to add these tags in the H5?

This is to mention the concept of semantic tags , recall that we usually use the div to complete the structure of the page, generally we will use the ID class to identify

The purpose of these elements, but from the perspective of the machine search engine, it does not know what these div elements specifically used to do, because it does not understand the ID class meaning, so in order to allow the machine to understand the meaning of these elements, we will use these semantic tags instead of the previous Div layout style of the Web page structure for the search engine more friendly, so that the content of the Web page can be better crawled by the search engine.

We use a more violent comic site to more intuitively explain the role of these tags

before semantic tagging is done ,

After having a semantic label, the practice is

HTML5 New structural elements

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.