HTML5 introduces a number of new elements and attributes that help in building an attractive webSite, that we see nowadays.It supports following new features.
- New Semantic Elements – These are like <header>, <footer>, and <section>.
- Forms 2.0 – It contains improvements to HTML web forms. It has introduced new attributes for the <input> tag.
- Persistent Local Storage – With HTML5, it is possible to achieve this, without resorting to third-party plugins.
- WebSocket – It facilitates setting up a bidirectional communication for web applications.
- Server-Sent Events(SSE) – These events got introduced in HTML5. The direction of the flow of the execution of these events is from the server to the Web Browser.
- Canvas – It supports a two-dimensional drawing surface that is programmable using JavaScript.
- Audio & Video – It allows embedding audio or video on the web pages without resorting to third-party plugins.
- Geolocation – It facilitates the visitors to share their physical location with the web application.
- Microdata – It allows building our personal vocabulary beyond HTML5 and extends our web pages with those custom semantics.
- Drag and drop – It supports to Drag and drop the items from one location to another location on the same Web page.