HTML HTML Basics Structuring Your Content Semantic HTML: <header>, <footer> and <section>

walter fernandez
walter fernandez
4,991 Points

I did not see any changes on the website when <header> and <section> was used.

what is <header>, <section> for?

1 Answer

Steven Parker
Steven Parker
201,976 Points

Those are both semantic container elements. Unless you apply CSS styling to them, they don't cause any visible changes by themselves. But they do help search engines, page readers, and other software identify the page contents.

For more details, see the MDN pages on Header and Section.