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
16,494 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

Wade Williams
Wade Williams
1,440 Points

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.

Ned Marafawi
Ned Marafawi
4,890 Points

Thank you for the clear and simple explanation.