Key features of HTML5?

The key features of HTML5 are :

1)Support for the embedded audio,video and canvas tags <video></video>,<audio></audio>,<canvas></canvas>

2)Introduction of some of new javascript services:

a) geolocation

b) drag-and-drop

c) storage

d) caching

3) Introduction of  web-workers

4)Introduction of some of new semantic tags

What are semantic tag ?

A semantic element clearly describes its meaning to both the browser and the developer.

Examples of non-semantic elements: <div> and <span> – Tells nothing about its content.

Examples of semantic elements: <form>, <table>, and <article> – Clearly defines its content.

<main>,<nav>,<article>, <section> , <header> , <footer> , <aside>

The <header> element is used to contain introductory and navigational information about a section of the page. This can include the section heading, the author’s name, time and date of publication, table of contents, or other navigational information.

The <article> element is meant to house a self-contained composition that can logically be independently recreated outside of the page without losing it’s meaining. Individual blog posts or news stories are good examples.

The <section> element is a flexible container for holding content that shares a common informational theme or purpose.

The <footer> element is used to hold information that should appear at the end of a section of content and contain additional information about the section. Author’s name, copyright information, and related links are typical examples of such content.

5)Introduction of new form controls

<calender> , <date> ,<time>,<email> , <url> ,<search>

By Pankaj Kumar Agarwal

Leave a reply:

Site Footer