HTML5 defines and stipulates various labels: nav-

Source: Internet
Author: User
Label definition display navigation links not all grouped hyperlinks need to be placed in the nav tag. The main navigation links of the current page should be placed in the nav tag ......,. HTML5 defines and stipulates various labels: nav

Definition and provision of nav labels
New Element tags in HTML5

It is used to divide links with navigation properties to make the code structure more accurate in terms of semantics, and provide better support for screen readers and other devices.

We have always been used

Or

    This code is used to write the page navigation. In HTML5, we can directly put the navigation link list

    Tag

    According to W3C definition specifications:

    The nav element is a link group that can be used as page navigation. The navigation element links to other pages or other parts of the current page. Not all link groups will be placed
    Into Element. For example, there is usually a set of links in the footer, including the terms of service, homepage, and copyright statement. Element is the most appropriate
    Instead Element.

    One page can have multiple Element, as the navigation of the whole or different parts of the page;

    It can be used not only as a global page navigation, but also in a tag, as a single article content navigation link to other locations on the current page.

            
             Navigation
             
     
    • Index of all articles
    • Things sheeple need to wake up for today
    • Sheeple we have managed to wake

    The above is the HTML5 definition and provision for each label: nav content. For more information, see the PHP Chinese Network (www.php1.cn )!

    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.