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
No Content Found.
Exercises & Assignments
No Content Found.
Interview Questions & Answers
No Content Found.