Diffrence Between HTML and HTML5

HTML
HTML5
Audio and Video are not part of HTML4 specification.
Audio and Videos are integral part of HTML5 specifications e.g.
Vector Graphics is possible with the help of technologies such as VML, Silverlight, Flash etc
Vector graphics is integral part of HTML5 e.g. SVG and canvas
Browser cache can be used as temporary storage.
Application Cache, Web SQL database and Web storage is available as client side storage. Accessible using JavaScript interface in HTML5 compliant browsers
Does not allow JavaScript to run in browser. JS runs in same thread as browser interface.
Allows JavaScript to run in background. This is possible due to JS Web worker API in HTML5
Works with all old browsers
Most of modern browser have started supporting HTML5 specification e.g. Firefox, Mozilla, Opera, Chrome, Safari etc.
Web Sockets are not available. Generally used mechanisms are long polling and streaming.
Full duplex communication channels can be established with Server using Web Sockets. Accessible using JavaScript interface in HTML5 compliant browsers.

No comments:

Post a Comment