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.
| Point | HTML 4 | HTML5 |
|---|---|---|
| Doctype | Long and complex | <!DOCTYPE html> |
| Layout tags | Only div | header, nav, main, footer and more |
| Media | Needed Flash | audio and video |
| Graphics | Images only | canvas and inline SVG |
| Forms | Few input types | email, date, number, range and more |
| Old tags | font, center, frame allowed | Removed. Use CSS |
| Storage | Cookies only | localStorage 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. |