link code"; the nav tag is only used to mark the area of a navigation link and has no actual display effect."/> link code"; the nav tag is only used to mark the area of a navigation link and has no actual display effect.">
Home > Article > Web Front-end > What is the usage of nav in html5
In HTML5, the nav tag is used to define the navigation link. It is a semantic tag with the syntax ""; the nav tag is only used to mark a navigation link. area, there is no actual display effect.
The operating environment of this tutorial: Windows 10 system, HTML5 version, Dell G3 computer.
What is the usage of nav in html5
Not all HTML documents need to use the
In the HTML5 version, many new semantic tags have been added, such as: header tag, footer tag, aside tag, nav tag, etc. These semantic labels have no actual display effect and only play a semantic role.
"nav" is the abbreviation of the English word "navigation", which means "navigation".
The example is as follows:
<html> <head> <meta charset="utf-8"> <title>123</title> </head> <body> <nav> <a href="/html/">HTML</a> | <a href="/css/">CSS</a> | <a href="/js/">JavaScript</a> | <a href="/jquery/">jQuery</a> </nav> </body> </html>
Output result:
html video tutorial 》
The above is the detailed content of What is the usage of nav in html5. For more information, please follow other related articles on the PHP Chinese website!