FrontendDeveloper.in

HTML question detail

What is semantic HTML and why does it matter?

Semantic HTML uses elements that describe meaning, such as header, main, article, nav, and footer, instead of generic wrappers everywhere.

It matters because:

  • It improves accessibility for screen readers.
  • It helps search engines understand page structure.
  • It makes code easier to maintain for developers.
Back to all HTML questions
Get LinkedIn Premium at Rs 399