0
Hello how can i create a link for my <nav>
2 Antworten
+ 1
Think of nav tag as a div tag. To create/make a link you would need to make an anchor (<a>) element with the link in the href attribute and insert it into the nav tag.
Answer:
<nav>
<a href="http://example.com">Example</a>
</nav>
0
<nav>
<a href="#home">Home</a>
<a href="#about">About</a>
<a href="#contact">Contact</a>
</nav>
Something like that