Language / Technology

Why does HTML use tags?

Short answer

Tags express the roles and structure of text, links, images, and other content in a form browsers can interpret.

How it works

Element names carry meaning. Choosing elements only for appearance can hide structure from assistive technology and search.

Key point

The practical point is this: Choosing elements only for appearance can hide structure from assistive technology and search.

References