Everything is a div? Search engines confused, screen readers lost. Semantic HTML5 uses elements that describe their purpose: <header>, <nav>, <article>, <section>. Better SEO, better accessibility.
Use <article> for standalone: Could exist independently
Use <section> for grouping: Related content with heading
Add lang attribute: <html lang=”en”>
π― Quick Decision Guide
Question
Use This
Is it main navigation?
<nav>
Can it stand alone as content?
<article>
Is it tangentially related?
<aside>
Generic grouping with heading?
<section>
No semantic meaning?
<div> (it’s OK!)
“Rewrote site with semantic HTML. Google Search Console showed 40% better crawl coverage. Accessibility score went from 65 to 95. Screen reader users sent thank you emails. Took 2 hours to refactor.”