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