Difference between HTML and HTML 5

HTMLWeb DevelopmentFront End Technology

Before moving to the difference between both of these broader terms first it is important to define the mark up language as abbreviation for HTML is Hyper Text Mark-up Language where mark-up language is used to define the text document within tag which defines the structure of web pages.So HTML is the combination of Hypertext and Mark-up language.As already understood that HTML 5 is the advance version of HTML so on the basis of additional features in HTML 5 there are notable differences.

Following are the important differences between HTML and HTML 5

1AV supportAs HTML is the initial version of this language so did not have support for audio and video without the use of flash player.On other hand HTML 5 supports audio and video controls with the use of "<audio>" and "<video>" tags.
2StorageHTML uses browser cookies and session for storage of data which is transferred from server to client side.On other hand HTML 5 uses SQL databases and application's own cache to store application data at client end i.e it become more scalable for storing data than HTML.
3JavaScriptHTML does not support JavaScript execution with its code execution as it treat JavaScript as server side language and does not support its code.On other hand HTML 5 introduced with JS Web worker API which made JavaScript code execution possible in its backgroud along with the code execution of HTML.
4ShapesHTML does not support for the drawing of trigonometric shapes through its code at browser side.On other hand HTML5 allows to draw shapes like circle, rectangle, triangle etc.
5Browser CompatibilityHTML has better compatibility as compare to HTML 5 as it is supported with new browsers as well as with all old browsers.On other hand HTML 5 is supported by all new browser like Firefox, Mozilla, Chrome, Safari, etc only and has limitation to be supported by older browsers.
Published on 13-Jan-2020 05:56:36