Wednesday, January 23, 2008

HTML 5 Working Draft

It's been 10+ years since we've had a major revision to HTML. The W3c has been working on revisions since 2004, and just released a working draft. Though it will take some time for final Candidate Recommendation stages and browser support, it is nice to know this is evolving. From the document, here are some of the new features that sound promising:

  1. audio and video elements for interactive media. - The tag defines the content.
  2. input element's type attribute has more options: datetime, datetime-local, date, month, week, time, number, range, email, url. This will great for form validation purposes. The generic input box has seen it's days.
  3. The a element has a new attribute called ping that specifies a space separated list of URIs which have to be pinged when the hyperlink is followed. - This will be nice for link tracking. Send a ping to a custom script to track user clicks on your site. I can see an easy integration with CRM and Analytics packages.

0 thoughts: