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

HTML HTML Basics Structuring Your Content Sectioning Content with <article>, <nav> and <aside>

walter fernandez
walter fernandez
4,992 Points

what are <article>, <nav> and <aside> for? are those visible on the website?

what are <article>, <nav> and <aside> for? are those visible on the website?

1 Answer

Uche Onuekwusi
Uche Onuekwusi
17,817 Points

<article>, <nav> and <aside> are not visible on the website. They are just a semantic way of structuring your website so the browser will know which part is which. It helps during search engine optimization as search engines will know parts of your website that are articles, footers, headers etc

So can we look at it as comments for search engine, kinda like how we add comments in our code for more clarification. Also, what happens if we don't include these semantic.

Thank you for the clear and simple explanation.