Semantic elements have meaningful names which tell about the type of content. For example header, footer, table … etc. HTML5 introduces many semantic elements as mentioned below which make the code easier to write and understand for the developer as well as instruct the browser on how to treat them. Some semantic elements are:
- aside
- details
- figcaption
- figure
- footer
- header
- main
- mark
- nav
- section