New features in HTML5

New features in HTML5

HTML5 introduces a number of new elements and attributes that help in building a modern website. Following are the great features introduced in HTML5.

New Semantic Elements:- These are like <header>, <footer>, and <section>.

Forms 2.0:- Improvements to HTML web forms where new attributes have been introduced for <input> tag.

Persistent Local Storage:- To achieve without resorting to third-party plugins.

WebSocket:- A next-generation bidirectional communication technology for web applications.

Server-Sent Events:- HTML5 introduces events which flow from web server to the web browsers and they are called Server-Sent Events (SSE).

Canvas:- This supports a two-dimensional drawing surface that a user can program with JavaScript.

Audio & Video:- A user can embed audio or video on their web pages without resorting to third-party plugins.

Geolocation:- Now visitors can choose to share their physical location with the web application.

Drag and drop:- In this, a user can Drag and drop the items from one location to another location on the same web page.