HTML5 was released with the primary objective of improving the World Wide Web experience for the developers and the end users. The biggest advantage that HTML5 has over its unnumbered predecessor is that it has high-level audio and video support which was not a part of the version specifications in previous HTMLs. Other differences between HTML and HTML5:
- SVG, canvas and other virtual vector graphics are supported in HTML5, whereas in HTML, using vector graphics was only possible by using it in conjunction with different technologies like Flash, VML, and Silver-light, etc.
- HTML5 uses web SQL databases, application cache for temporary storing data, meanwhile, in HTML, only browser cache could be utilized for this purpose.
- HTML5 is not based on SGML, and that allows it to have improved parsing rules which provide enhanced compatibility.
- In HTML5, inline MathML and SVG can be used in text whereas this wasn’t possible in HTML.
- Some of the deprecated elements that have now been dropped completely are index, noframes, acronym, applet, basefont, dir, font, frame, frameset, big, center, strike, tt.
- HTML5 supports new kinds of form controls, for example, dates and times, email, number, range, tel, url, search etc.
- There are many new elements introduced in HTML. Some of the most important ones are: summary, time, aside, audio, command, data, data list, details, embed, wbr, figcaption, figure, footer, header, article, hgroup, bdi, canvas, keygen, mark, meter, nav, output, progress, rp, rt, ruby, section, source, track, video.