Saturday, May 7, 2011

A review on HTML5

I have decided to write a review on HTML5. I wrote one on Google Chrome (11).

HTML5 reduces the need for validation with scripting. It also released new input types like "email", "url", and many other cool input types. iOS recognizes some of the input types in HTML5. For example, iOS (iPhone or iPad) will display a keyboard with a ".com" key on it when typing in a "url" input. Cool, eh?

HTML5 reduces coding lines greatly besides giving up the scripting. The "progress" element, for example, displays a progress bar, in which you can show a page a loading bar on something like a game loading, or other types of things (like stats).

Many other useful tags have come with HTML5. So far, most browsers do not know how to handle them yet, but we'll get there.

HTML5 introduced "geolocation", "localStorage", and "sessionStorage". I have not used geolocation before, but I do know what it does (tries to find your location). localStorage/sessionStorage is very useful for the same purpose as cookies, except for more features:

  • localStorage stores the data with no time limit.
  • localStorage/sessionStorage is stored on the client.
  • localStorage/sessionStorage stores up to 5MB of data currently (that's actually not bad).
  • And possibly more.
We may see lots of cool things when HTML5 is a recommendation. Already, countless HTML5 "canvas" games have been made and are working in most major browsers today.

Overall, HTML5 is a hit.


No comments:

Post a Comment

Please keep your comments appropriate.