0

Hello how can i create a link for my <nav>

26th Dec 2019, 9:21 PM
Hobim
Hobim - avatar
2 Answers
+ 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>
26th Dec 2019, 9:41 PM
SoundInfinity
SoundInfinity - avatar
0
<nav> <a href="#home">Home</a> <a href="#about">About</a> <a href="#contact">Contact</a> </nav> Something like that
26th Dec 2019, 9:41 PM
Nico Ruder
Nico Ruder - avatar