Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJack Spilman
Web Development Techdegree Student 374 PointsWhat is the purpose of <nav>, is it noticeable?
Upon completing the workshop and adding the <nav> tags, when I refresh the website built, it does not seem to be altered. Wondering if I either did it wrong or if it is essentially invisible. Thanks!
1 Answer
Rick Gleitz
47,878 PointsHi Jack,
The purpose of <nav> tags id to aid later developers when adjusting your HTML (makes it easier to locate and understand what's going on. Look up the term 'Semantic Markup'). It lets people who have difficulty reading a webpage and use screen readers navigate through the page (Look up the term 'Accessibility' as it pertains to website creation). There are also printers who, by default, leave out nav content when printing. The above reasons are not a comprehensive list, nor are they listed by order of importance, just the way they occurred to me.
The tags themselves are not visible on the page. The content you put in them will be.
Hope this helps!