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 trialyeshi chopal
1,445 Pointswhere do I place <nav> after header ?
unorder list <nav>
6 Answers
nawlins34
24,783 PointsIf I may add on to this question just so I understand:
Whether the nav element is inside the header or not is purely about design, not semantics, right?
yeshi chopal
1,445 Pointswhere do I place <nav> after header ?
Abdul Zainos
4,938 PointsHi Yeshi, it depends. When designing your site. You typically want to have your navigation towards the top; however, you might be going for a different design where the navigation is not at the top.
Aaron HARPT
19,845 PointsThis code worked for me putting it after the h1 and h2 and a: <nav> <ul> </ul> </nav>
Abdul Zainos
4,938 PointsI gave up, I think you need to encode HTML to show what's going on.
Aaron HARPT
19,845 PointsHere it is:
<nav>
<ul>
</ul>
</nav>
yeshi chopal
1,445 Pointsthanks alot :)
Tommy Choe
38,156 PointsTommy Choe
38,156 PointsYes, you're right.