HTML5 (2014) was the biggest upgrade in HTML history. If you learn "HTML" today, you are learning HTML5 โ but interviews still ask what changed.
The big additions
- Semantic tags:
<header> <nav> <main> <section> <article> <footer>replaced div soup - Native media:
<video>and<audio>killed Flash - Canvas & SVG: draw graphics without plugins
- Form upgrades:
type="email",date,range, plus built-in validation withrequiredandpattern - Storage APIs: localStorage and sessionStorage replaced most cookies
- Simpler doctype:
<!DOCTYPE html>instead of the unreadable HTML4 version
Interview answer in one line
"HTML5 added semantics, native multimedia, canvas, better forms and client-side storage โ making the web app-capable without plugins."
Full details in the Complete HTML Guide.
โ All Articles