0

just wondering about "nav"

the lesson didnt explain a lot. does the link go where the # is? and how do you make it take you to a place on that same page?

13th Jun 2016, 12:53 AM
ryan
2 Answers
+ 1
<nav> is new in html5 and is a semantic tag, meaning it describes it's content (usually a navigation menu) for browsers and screenreaders. It doesn't care what links you put inside it nor where they go. That's up to you. The # is used for empty links like in exercises and lessons. For a working page you should put a real path or url there.
13th Jun 2016, 6:09 PM
ZinC
ZinC - avatar
0
nav is new tag of html5 basically focused on navigation set of urls above the header
13th Jun 2016, 12:35 PM
Deepender Choudhary
Deepender Choudhary - avatar