Thursday, October 11, 2018

What are the main differences between HTML and HTML5

What are the main differences between HTML and HTML5

The one consistent thing about the field of information technology is that periodic updates/changes are inevitable. No language is capable of avoiding upgrades and/or new releases. HTML is no exception. HTML5 was released with the primary objective of improving the World Wide Web experience for the developers and the end users. As already mentioned, 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.
  • Another difference between HTML and HTML5 worth mentioning is that the former      doesn’t allow JavaScript to run within the web browser (it instead runs in the browser interface thread) whereas the latter provides full support for JavaScript to run in the background (This is possible courtesy to the JS web worker API of HTML5).
  • 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: isindex, 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, datalist, details, embed, wbr, figcaption, figure, footer, header, article, hgroup, bdi, canvas, keygen, mark, meter, nav, output, progress, rp, rt, ruby, section, source, track, video.


No comments:

Post a Comment

Which Python course is best for beginners?

Level Up Your Python Prowess: Newbie Ninjas: Don't fret, little grasshoppers! Courses like "Learn Python 3" on Codecade...