HTML5

Major New Elements

1. New semantic elements

Semantic elements are elements with a meaning.

2. Canvas & SVG

The HTML <canvas> element is used to draw graphics, on the fly, via scripting (usually JavaScript).

The HTML <svg> element (introduced in HTML5) is a container for SVG graphics.

3. Video & Audio

The HTML5 <video> element specifies a standard way to embed a video in a web page.

The HTML5 <audio> element specifies a standard way to embed audio in a web page.

4. Geolocation

The HTML Geolocation API is used to get the geographical position of a user.

5. Local Storage

With local storage, web applications can store data locally within the user's browser.

6. Application Cache

With application cache it is easy to make an offline version of a web application, by creating a cache manifest file.

7. Drag&Drop

Drag and drop is a very common feature. It is when you "grab" an object and drag it to a different location.In HTML5, drag and drop is part of the standard, and any element can be draggable.

8. The contenteditable attribute is new in HTML5.

<p contenteditable="true">This is an editable paragraph.</p>

8. The <time> tag is new in HTML5.

<article>
<time datetime="2011-09-28" pubdate="pubdate"></time>
Hello world. This is an article....
</article>

Elements Removed

<font> <center> -----> CSS instead

<applet> -----> <object> instead

<frame> <frameset> <noframes>

results matching ""

    No results matching ""