What is the difference between HTML and HTML5?

HTML5 is the latest major version of HTML. It added new elements and features, so many things that needed plugins can now be done with plain HTML.

PointHTML 4HTML5
DoctypeLong and complex<!DOCTYPE html>
Layout tagsOnly divheader, nav, main, footer and more
MediaNeeded Flashaudio and video
GraphicsImages onlycanvas and inline SVG
FormsFew input typesemail, date, number, range and more
Old tagsfont, center, frame allowedRemoved. Use CSS
StorageCookies onlylocalStorage and sessionStorage

Read HTML5 Introduction.


Learn more about the similar topics:
Tutorials
HTML Frames
HTML Iframes
HTML5 Introduction
HTML Multimedia
HTML5 Video
HTML5 Audio
HTML5 Canvas
Exercises & Assignments
No Content Found.
Interview Questions & Answers
What are the new multimedia elements in HTML5?
How do you insert a video in HTML?
What is the difference between HTML and HTML5?
What is an iframe in HTML and what is it used for?
What is the difference between canvas and SVG in HTML5?
What is the difference between localStorage, sessionStorage and cookies?