Thursday, September 26, 2013

HTML5 Features

HTML5 is the latest version of HTML - the markup language used to display content on  web pages

Cleaner markup / Improved Code.

Cookies issues has been resolved with the help of a concept called Local Storage

You can easily embedding audio and video files

Introduction of <canvas> element.  Canvas is a element of HTML5 which uses JavaScript to draw graphics on a web page. A canvas is a rectangular area. Each and every pixel of it can be controlled by us. There are several methods for drawing paths, boxes, circles, characters, and adding images by using canvas

In HTML5 there is only one <!doctype> declaration: <!DOCTYPE html>

HTML5 Geolocation is used to locate a user’s position

HTML5 introduces a whole set of new elements that make it much easier to structure pages.

1. Header Tag

The header element represents the header of a section.

2. Nav Tag

<nav>

3. Article Tag

The article element represents an independent section of a document, page or site. Mainly use for content like news articles, blog articles, forum posts, individual comments etc. Same like div you can give id to article tag.

<article id="article_01">

4. Section Tag
Generally people think <section> is used to wrap the content but it is wrong.
The section element represents a generic document or application section…
For content wrap we can use div.

5. Aside Tag
The aside element is generally used for marking up sidebars and content that is tangentially related to the content around it.

6. Footer Tag
The footer element represents the footer for the section it applies to. Footer typically contains information about its section such as writer name, links of its useful documents, copyright data.

6. Commad

<command> A button, or a radiobutton, or a checkbox

7. Time

<time> For defining a time or a date, or both

8. Audio and Video

<audio> For multimedia content, sounds, music or other audio streams
<video> For video content, such as a movie clip or other video streams

No comments:

Post a Comment