What does semantic HTML mean?

In web development, semantic HTML means HTML that uses elements according to their meaning, such as nav, main, article and button, instead of generic div and span elements for everything.

nounCommon term

Web Development vocabulary · HTML and Markup

In Turkish: anlamsal HTML, semantik HTML

Also used in: Software Engineering

How it is used

Comes up in code reviews and accessibility work: semantic HTML gives screen readers, search engines and browsers useful information for free. Its opposite is jokingly called 'div soup'.

Example sentences

  1. Replace the clickable div with a real button; semantic HTML gives you keyboard support for free.

  2. Good semantic HTML makes the page easier to style and easier to test.

Common collocations

  • semantic elements
  • semantic markup
  • landmark elements
  • div soup

More terms: HTML and Markup

Practise with graded reading

Reading at the right level is the fastest way to make new words stick. Pick free English books by level: