contact@codebetter.in 8823075444
9993928766
  • Tutorials Home
  • Contact

What is the purpose of the HTML5 semantic elements?

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