0
The <nav> tag
I want an example of in page navigation inside a page
1 Antwort
+ 5
The HTML <nav> element represents a section of a page whose purpose is to provide navigation links, either within the current document or to other documents. Common examples of navigation sections are menus, tables of contents, and indexes.
<nav class="menu">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav