+ 2
What are the primary differences between HTML 5 and other versions of HTML?
3 Respostas
+ 3
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 temporarily 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 a 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.
Source: https://www.hostinger.com/tutorials/difference-between-html-and-html5
+ 1
wow thanks for pointing out these features to me.
+ 1
Michael keygen is deprecated