Semantics HTML Interview Questions
13 curated semantics interview questions for HTML — with short answers, detailed explanations, and interview tips. Ideal for Fresh through Tech Lead prep.
What does semantic HTML mean, and why do interviewers care?
When should you use <section> vs <article> vs <div>?
What is the difference between <header>, <head>, and heading elements?
Why is a single <main> landmark important?
How do you structure a blog post with semantic HTML?
What is the HTML outline and how do browsers treat heading levels?
When is <aside> appropriate?
Explain <nav> usage — one or many?
What are phrasing vs flow content, and why does it matter?
How would you mark up a FAQ for accessibility and SEO?
What is the role of <figure> and <figcaption>?
When should you use <address>?
Design a semantic layout for a dashboard with app chrome and widgets.