HTML is short for Hypertext Markup Language. It provides the basic structure for all websites (WWW). The first draft was published in 2008. HTML 5.3 is the latest version of HTML, released in 2017.
HTML | HTML5 |
No Native support for audio and video | Native support for audio and video<video controls></video> |
supports vector graphics only if used in conjunction with different technologies like Flash, VML, or Silverlight. | supports SVG (Scalable Vector Graphics), Canvas, and other virtual vector graphics.<canvas></canvas> |
Doesn’t allow users to draw shapes such as circles, triangles, and rectangles. | Allows users to draw various shapes. SVG defines graphics for the Web.<svg><circle></circle></svg> |
Web Socket is not available | Establish full-duplex communication channels with a server using Web Sockets |
Uses cookies and the browser cache only to temporarily store data. | Uses web SQL databases, local storage, and application caches for temporarily storing data. |
One thread handles both JavaScript and the browser interface. | Separate threads are used to run JavaScript and the browser interface. |
Longer document type declaration. | Shorter document type declaration. <!DOCTYPE html> |
Longer character encoding declaration. Uses the ASCII character set. | Shorter character encoding declaration. Uses the UTF-8 character set.<meta charset="utf-8"> |
No attributes like async and ping | supports the attributes like async, ping.<script src="aync1.js" async> |
does not allow drag and drop effects | allows drag-and-drop effects |
Doesn’t offer enhanced elements | offers elements like <details>, <summary>, <dialog>, <mark>, <meter>, so on. |