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?
2 ответов
+ 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.
0
nav is new tag of html5 basically focused on navigation set of urls above the header