HTML

1)APIs

HTML5 is intoduced with several new APIs. More easy to play the audio and video. Flash is no longer required to play at least the supported files.

eg: <audio> <video>

2) Deletion of Unnecessary Elements

eg: dir, font, strike and center etc. have been changed by the CSS

3)More flexibility

more flexible when it comes to handling inaccurate syntax. This flexibility enables it to show similar results, even if there is a slightly inaccurate syntax.

4)New Elements

HTML5 is preloaded with many elements to structure the webpages.

eg: header, footer, section, article, nav, aside.

5) More powerful

It can not only play audio and video files on its own, but it is also able to run video games in the browser on its own.

6) local storage

Before HTML5, application data had to be stored in cookies, included in every server request. Local storage is more secure, and large amounts of data can be stored locally, without affecting website performance.

Unlike cookies, the local storage limit is far large (at least 5MB) and information is never transferred to the server.

Local storage is per origin(per domain and protocol). All pages, from one origin, can store and access the same data.

Last updated

Was this helpful?