HTML Tutorial
<nav>
:<nav>
:id
: Unique identifier for the <nav>
element.class
: Used to specify additional styling classes.<nav>
:<nav><a href="home.html">Home</a><a href="about.html">About Us</a></nav>
Simple HTML Example:
<!DOCTYPE html>
<html>
<head>
<title>Exploring the `<nav>` Tag</title>
</head>
<body>
<nav>
<a href="index.html">Home</a>
<a href="contact.html">Contact</a>
</nav>
</body>
</html>