Sunday, July 31, 2011

Upgrading to HTML5

  
This is as simple as changing your doctype. The doctype should be on the first line of every HTML page. In HTML5, the doctype is:
<!DOCTYPE html>

HTML5 doctype won’t break your existing markup, because all the tags defined in HTML 4 are still supported in HTML5.

Saturday, July 23, 2011

Html 5 Intoduction

  
What is HTML5?

HTML5 is the new standard for HTML, XHTML, and the HTML DOM. HTML5 is still a work in progress. However, most modern browsers have some HTML5 support.

What are the new features of HTML5?

New features of HTML5 are based on HTML, CSS, DOM and Javascript. There are some new features in HTML5;

- The <canvas> element for making graphics with Javascript.
- The <audio> and <video> element for media streaming and playback.
- Better support for local storage like localStorage and sessionStorage using the Web Storage interface.
- New input types like email, url, number, range and date.
- New form elements like <datalist>, <keygen> and <output>.

Which browsers support HTML5?

No browsers have full HTML5 support.But Safari, Chrome, Firefox, Opera and Internet Explorer continue to add new HTML5 features to their latest versions.