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 )!