To get more information on html5 just visit to w3cschools.com that will help you more and even refer the site for my knowledge.
Printable View
To get more information on html5 just visit to w3cschools.com that will help you more and even refer the site for my knowledge.
HTML5 also includes new elements for drawing graphics, adding media content, better page structure, better form handling, and several APIs to drag/drop elements.
I think the new features would include: new semantic elements like <header>, <footer>, <article>, and <section>.
As mentioned, HTML5 has in its bag: new elements, attributes, and APIs. Some of the commonly(most) used elements in HTML5 have to be the media related elements like <video> and <audio> for obvious reasons. Also in use are the semantic elements which give an elegant structure to the web pages like: <section>, <article>, <aside>, <nav>, <header>, <figure>, and <figcaption> and newly added <main>
For instance, the <section> tag can be used as a container for a document and the <article> tag is suitable to articulate content as a newspaper article or a blog post such as this one. Below are listed a few tags and their suitable applications:
New form control attributes like a placeholder, autofocus, email, URL, required, pattern, number, range, color, tel, search, date, date-time, file, required as an attribute. autofocus , autocomplete=”off”, autocomplete=”on”,data list ,min and max ,enable, read-only , disable ,size.
The most interesting new API’s are:
HTML Geolocation: HTML Geolocation is used to locate a user’s position. The HTML Geolocation API is used to get the geographical position of a user.
HTML Drag and Drop: Drag and drop is a very common feature. It is when you “grab” an object and drag it to a different location.
HTML Local Storage: With local storage, web applications can store data locally within the user’s browser.
In Html5, some new tags are added to make it more simplify.
As mentioned, HTML5 has in its bag: new elements, attributes, and APIs. Some of the commonly(most) used elements in HTML5 have to be the media related elements like <video> and <audio> for obvious reasons. Also in use are the semantic elements which give an elegant structure to the web pages like: <section>, <article>, <aside>, <nav>, <header>, <figure>, and <figcaption> and newly added <main>
For instance, the <section> tag can be used as a container for a document and the <article> tag is suitable to articulate content as a newspaper article or a blog post such as this one. Below are listed a few tags and their suitable applications:
New form control attributes like a placeholder, autofocus, email, URL, required, pattern, number, range, color, tel, search, date, date-time, file, required as an attribute. autofocus , autocomplete=”off”, autocomplete=”on”,data list ,min and max ,enable, read-only , disable ,size.
The most interesting new API’s are:
HTML Geolocation: HTML Geolocation is used to locate a user’s position. The HTML Geolocation API is used to get the geographical position of a user.
HTML Drag and Drop: Drag and drop is a very common feature. It is when you “grab” an object and drag it to a different location.
HTML Local Storage: With local storage, web applications can store data locally within the user’s browser.
Video and audio are the new tags that allow you to embed a video on the website.
The nav element is used for the part of an internet site that links to different pages on the website.