Semantic HTML / Markup
Definition
Use of HTML elements according to their content meaning instead of pure optical design.
Semantic markup uses HTML tags such as <header>, <nav>, <main>, <article>, <section> and correct heading hierarchies (h1–h6). This gives browsers, search engines and screen readers the logical meaning of the content.
Simply explained
Like the labeling of moving boxes: Instead of just writing “box” on each box, you write “kitchen – glasses” on it, so that everyone immediately knows what’s inside.
Why it matters in practice
Helpful for comprehensible structure, assistive technologies and maintainability; further examinations remain necessary.
Example from business
Possible example: An article page uses matching structure and heading elements; not every div container needs to be replaced.
Limits and pitfalls
- Excessive use of unsemantic <div> and <span> elements (div soup); choosing headings by font size instead of logical structure; misusing ARIA roles instead of native HTML.
Origin & history
The current HTML Living Standard describes elements with content significance. Semantic marking is part of HTML and not only created by HTML5.
Use in mid-sized companies
- Possible application: Mark content structure with matching HTML elements and then check navigation, keyboard operation and assistive output. Rankings and complete accessibility are not guaranteed.
Frequently asked questions
Does semantic HTML guarantee better ranking or accessibility?
No, it supports a meaningful structure; further requirements remain.
Are div elements always wrong?
No. Where a suitable semantic element is present, its meaning should be used.
Sources
- Semantics: Bedeutung von HTML-Elementen · MDN, Semantics: Bedeutung von HTML-Elementen
- HTML Living Standard · WHATWG, HTML Living Standard
Sources checked on 09.10.2026. Editorial application examples are hypothetical; no evidence of real customer results.
Editorially reviewed on: