HTML5 introduces significant advancements over HTML, including support for SVG and canvas for vector graphics, web SQL databases for data storage, and improved JavaScript functionality through the JS web worker API. It also enhances compatibility with better parsing rules, allows inline MathML and SVG, and introduces new form controls and elements. Deprecated elements from HTML have been removed in HTML5, reflecting its evolution and modernization.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
2 views2 pages
HTML Vs HTML5
HTML5 introduces significant advancements over HTML, including support for SVG and canvas for vector graphics, web SQL databases for data storage, and improved JavaScript functionality through the JS web worker API. It also enhances compatibility with better parsing rules, allows inline MathML and SVG, and introduces new form controls and elements. Deprecated elements from HTML have been removed in HTML5, reflecting its evolution and modernization.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2
HTML Vs 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.