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 trial

CSS Framework Basics Prototyping with Bootstrap Building a Fixed Navbar

SERGIO RODRIGUEZ
SERGIO RODRIGUEZ
17,532 Points

No nav or header tags in the markup. Aren't those very important semantic elements?

Guil removes the html "header" tag to build the fixed nav bar and never includes a "nav" tag in the markup.

As far as I know, both "header" and "nav" tags are very important semantic elements that may influence your SEO ranking.

Isn't it a negative thing to ignore them?

1 Answer

Andrew Shook
Andrew Shook
31,709 Points

Sergio, yes those tags are important to semantic mark up and do help with SEO, but they don't work in some older versions of browsers ( Internet Explorer). Also, I believe this course is almost a year old, so it may have been necessary at the time for cross browser compatibility. I do a lot of work for non-profits here in the USA, and can't use the newer html tags because they want things to work in IE 7 or 8.

Even for non-profits, how is it acceptable that someone is still using anything less than at least IE9? Esp. seeing as all the top browsers are free and available from reliable sources. Surely the act of allowing use, or in other words, catering/developing for such archaic browsers is perpetuating this madness.