element."/> element.">

Home >Web Front-end >Front-end Q&A >How to use html nav tag

How to use html nav tag

藏色散人
藏色散人Original
2019-05-27 10:07:415018browse

html The nav tag is used to define the navigation link part. The

How to use html nav tag

#html How to use nav tag?

Function: Define the part of the navigation link.

Description: The

Note: If there is a "before and after" button in the document, it should be placed in the

html nav tag usage example

<!DOCTYPE html>
<html>
<body>
<nav>
    <a href="/course">教程</a> |
    <a href="/wenda">问答</a> |
    <a href="/article">文章</a> |
    <a href="/shouce">手册</a>
</nav>
<p>nav标签用来标识网站的导航</p>
</body>
</html>

Effect:

How to use html nav tag

The above is the detailed content of How to use html nav tag. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How to use html meter tagNext article:How to use html meter tag