In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the meaning of nav in HTML5. It is very detailed and has certain reference value. Friends who are interested must finish reading it.
In HTML5, nav's full name is "navigation", meaning "navigation" in Chinese, and it is a navigation tag that represents navigation in a HTML page; the nav tag defines an area that contains navigation links, with the syntax "link."
The operating environment of this tutorial: windows7 system, HTML5 version, Dell G3 computer.
In HTML5, nav's full name is "navigation", which means "navigation" in Chinese.
The HTML5 tag is used to represent navigation in a HTML page, either between pages or between segments within a page.
The tag defines the part of the navigation link.
Not all HTML documents use elements. The element is simply used as an area to mark a navigation link.
According to the relevant standards of HTML5, the definition is as follows:
"A section of a page that links to other pages or to parts within the page:
A section with navigation links. "
The Chinese translation probably means
"an area of a page used to link to another page or to the current page: an area that contains navigation links."
The function of the nav tag is clearly defined here. Similar to header, it does not specify that it must be the main navigation, or it can be a sub-navigation for the rest of the page.
As follows:
HTML | CSS | JavaScript | jQuery
In the above example, we see that this is just an area for article navigation, and you can also use nav to define a small intra-page navigation. But not all link groups on the page need to be placed in the nav tag, it is mainly made up of the main navigation blocks of the page. For example, we usually put a set of links in the footer of a website, including terms of service, site introduction, copyright notice, etc., when we usually use footer instead of nav.
A page can contain multiple nav tags as navigation for the whole or different parts of the page. In the following example, there are two nav tags, one is the main navigation of the site, and the other is the auxiliary link navigation of the current page itself.
The above is all the content of this article "what does nav in HTML5 mean?" Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.