Web Development · HTML

What is the difference between HTML and HTML5?

Beginner
~2 min answer
0 views
0 likes
2026
Quick Answer

HTML5 is the latest version with semantic elements, multimedia support, canvas, local storage, and better APIs.

Detailed Answer
HTML5 is the latest version of HTML with many new features. Key differences include:
1. New semantic elements: <header>, <footer>, <nav>, <section>, <article>
2. Multimedia support: <audio> and <video> tags without plugins
3. Canvas element for drawing graphics
4. Local Storage & Session Storage
5. Geolocation API
6. Form improvements with new input types
7. Better SEO with semantic tags
Example / Code
<video src="video.mp4" controls></video> - This plays video without Flash in HTML5
Interview Tips

Mention semantic tags, multimedia, and APIs. Show you know practical use cases.

Common Mistakes

Saying HTML and HTML5 are completely different languages. They are the same language - HTML5 is an evolution.

Related Skills
CSS3 JavaScript SEO basics