nav tag in html
The <nav> tag defines a set of navigation links.
Notice that NOT all links of a document should be inside a <nav> element. The <nav> element is intended only for major block of navigation links.
<!DOCTYPE html>
<html>
<body>
<nav>
<a href="https://technisias.blogspot.com/">HTML</a> |
<a href="https://technisias.blogspot.com/">CSS</a> |
<a href="https://technisias.blogspot.com/">JavaScript</a> |
<a href="https://technisias.blogspot.com/">jQuery</a>
</nav>
<p><strong>Note:</strong> The nav tag is not supported in Internet Explorer 8 and earlier versions.</p>
</body>
</html>
Output:
Note: The nav tag is not supported in Internet Explorer 8 and earlier versions.
Comments
Post a Comment