How do I use the nav html tag?
-
The nav tag is a semantic element
The nav tag is used for link navigation of main links of a html document.
<!DOCTYPE html> <html> <body> <nav> <a href="#one">One</a> | <a href="#two">Two</a> | <a href="#three">Three</a> | <a href="#four">Four</a> </nav> </body> </html>
© Lightnetics 2024