- Loading new page content or submitting data to the server via AJAX without reloading the page.
- Animation of page elements - fade in and out, resizing and moving them, etc.
- Interactive content, for example games, and playing audio and video.
- Validating input values of a web form before they are submitted to the server.
- Transmitting information about the user's reading habits and browsing activities to various websites. Web pages frequently do this for web analytics, ad tracking and personalization etc.
Below is an example of a dropdown shopping cart element created using jQuery:
HTML 5 was developed to give more flexibility and enable more exiting and interactive websites. HTML 5 enables more powerful and efficient applications. HTML 5 will ultimately make it easier for developers to develop cross-browser applications for the Web and portable devices that include animation and interactivity that were only previously possible using Flash.
HTML 5 introduces lots of new tags and enhancements for a wide range of features including form controls, APIs, multimedia, structure, database support and faster processing. Note that the specification is still being developed and it could be a while before it becomes a common standard by all browsers. But that said most modern browsers already support many of the new features it offers.