Wednesday, August 11, 2010

HTML 5

<!DOCTYPE HTML>
Instead of writing one of the 3 kinds of doctype in html4. In html 5 there is only one type.
It is very easy to write. It must comes before tag.

<video> & <audio>
For showing video & audio they have introduced these tags but according to me if there is <embed> tag then why new? or if it has any problem then why didnt they repaire it.
Hey there might be some technical logic that at this level i dont know.

<canvas>
Most welcome tag canvas. with the help of this tag we can draw & fill color to lines, circle, rectangle & more.

NEW INPUT TYPES
In html5 i totally impressed with these input types. It saves a lot of conding like to check whethere user enter correct email id we have to use regular expression. But in html5 no need to do this because it automatically checks for correct input. To use these tags we have to wait until most browser support 100%. but i think chrome has very good supports of for HTML5.
Some of the tags are
email
url
date pickers
range
number
search
color

Form Attributes
HTML5 introduces some new attributes for form.like autocomplete, autofocus, min max step, required & more. But no browser support for these attributes.

When most of the browser fully support for HTML5....

No comments:

Post a Comment