Wednesday, 23 Jan 2008 6:20PM EST

W3c Releases HTML 5 Public Working Draft

Yesterday, the W3C published two documents that are very important to the future of web development. They released technical reports on HTML 5 and HTML 5 differences from HTML 4. This draft represents a major leap forward for HTML which has not seen an update since HTML 4 was adopted in December of 1999.

The new elements and attributes that have been added into version 5 focus entirely on semantics and structure. In fact, the <font> element as well as all presentational attributes, such as align, width, height, background and style, have been removed in HTML 5. It is clear that by the time this draft is accepted as a standard, CSS will not only be the norm, but will be required.

Besides removing presentational elements and attributes, HTML 5 is also focusing on structure with the additions of several key elements. Most notably, <section>, <article>, <aside>, <header>, <footer> and <nav>. These new elements will be used for easily defining your page structure, rather than having to use <div id="nav"> or <div id="header">. This standardizes what are already the most common designations for these sections of a web page, making both the HTML and CSS code easier to code and read. Other notable elements with a great deal of potential include <dialog> and its child elements <dt> and <dd>, which can be used to mark up a conversation, <figure>, which can associate a caption with some embedded content, <audio> and <video>, for multimedia content, <meter>, for representing measurements, and <datagrid>, which represents and interactive tree list or tabular data.

Form validation will get much easier, as well, with the introduction of 10 new input types; datetime, datetime-local, date, month, week, time, number, range, email and url. These new types mean that the text input type will no longer be a catch-all for any kind of input and browsers will now be able to do the field limiting and validation for you.

There are some notable new attributes as well. The ping attribute in <a> and <area> elements allow for a list of URIs to be pinged when a link is followed. <a> and <area> will also now have the media attribute. value is no longer deprecated for <li> and autofocus can now be specified on an <input> element.

The HTML version 5 specification is exciting news for web developers everywhere as the markup language is set to take its first steps in nearly a decade. Which attributes and elements are you most excited to see? What new tricks do you think you'll be able to pull of with them?
Bookmark and Share

0 Comments So Far

Post a comment


If you are seeing this message, you are either using a screen reader or you have disabled CSS. Please do not fill in the following form field, titled "lastname", or your comment will not be saved. This field is only used to help prevent spam comments.


Welcome

JustinSpegele.com is where I share projects that I'm working on, php tutorials, web development tips and tricks, and random thoughts.

#MLS has a very odd notion of an all-star game. MLS all-stars vs. an EPL team? Still, should be very fun to watch. MLS 3 - Man United 2 1:41 PM Jul 28th from web
The New Digg And The Future Of Social News http://bit.ly/cM7Guq 10:44 AM Jun 29th from TweetMeme
so as of right now, the Big 10 has 12 teams and the Big 12 has 10 teams? http://sports.espn.go.com/ncaa/news/story?id=5276668 7:59 PM Jun 11th from web
heading to Las Vegas for #caworld in the morning 7:12 PM May 12th from web
Found out from CNN that I went to high school with a convicted terrorist who worked with Al-Qaeda. Not what I expected to see on the news 9:49 PM May 10th from web
View all posts on Twitter »

Friend me

Twitter Digg Facebook FriendFeed Del.icio.us iFanboy Last.fm Squidoo

Login

Username:

Password: