Base of difference | HTML5 | HTML |
Support | HTML5 has both high-level audio and video support | Here in previous version of HTML there is no high-level support for audio and video. |
Drag and Drop | HTML5 allows both drag and drop effect. | HTML does not allow drag and drop effect. |
Drawing | In HTML5 we can draw different shapes like rectangle, circle and triangle in HTML5. | In HTML it is not possible to draw different shapes like circle, rectangle and triangle etc. |
New Attributes | Here in HTML5 different attributes of Async, charset and ping are available. | In HTML these attributes are not available in HTML. |
Mobile Support | As we all knows HTML5 is more mobile friendly. | HTML is very less mobile friendly. |
SVG and MathML | We can used SVG and MathML in text. | In HTML it is not possible. |
Graphics | Canvas, SVG and other virtual vector graphics are supported in HTML5. | To implement vector graphics some third party library like VML,Silverlight can be used. |
Declaration | Doctype declaration is very easy and simple. | Here doctype declaration is long and complicated. |
Background Support | HTML5 have features javascript to run in background. | NOt possible in HTML |
Storage | Web SQL database, web storage and application cache is used as permanent storage.
| We can use browser cache to be used as temporary storage. |