Semantic HTML and landmarks
Comes up in: Recruiter screen, Web fundamentals
This concept is being written. It gets the full five steps — explanation, predict, interview angle, practice with tests, and review cards. Here is exactly what it will cover, so you can study it elsewhere in the meantime.
What it covers
header,nav,main,article,section,aside,footerbuttonvsavsdiv- why semantics matter for accessibility and SEO
- landmarks for screen readers
Words you will know
What you will practise
- convert a div-soup page to semantic HTML
Interview questions this answers
- What is semantic HTML and why does it matter?
- When should you use a
<button>instead of an<a>?