Tuesday, July 13, 2010

Html 5 and it's Elements

HTML5 introduces a number of new elements and attributes that reflect typical usage on modern websites. Some of them are semantic replacements for common uses of generic block (<div>) and inline (<span>) elements, for example <nav> (website navigation block) and <footer> (usually referring to bottom of web page or to last lines of html code). Other elements provide new functionality through a standardized interface, such as the multimedia elements <audio> and <video>.Some deprecated elements from HTML 4.01 have been dropped, including purely presentational elements such as <font> and <center>, whose effects are achieved using Cascading Style Sheets. There is also a renewed emphasis on the importance of DOM scripting (e.g., JavaScript) in Web behavior.
There is now a consistent level of support for many of the HTML5 features that the average developer might use for progressive enhancement but there are some browsers are there which doesn’t support or partially support html 5 features. Internet Explorer is one of them.  Here are the new elements added in HTML5.
<article>
<aside>
<audio>
<embed>
<fieldset>
<figcaption>
<figure>
<footer>
<header>
<hgroup>
<keygen>
<mark>
<meter>
<nav>
<output>
<progress>
<rp>
<rt>
<ruby>
<source>
<summary>
<time>
<video>

No comments:

Post a Comment