Avoiding common HTML5 mistakes. Between curating sites for the HTML5 gallery and answering readers’ questions here at HTML5 Doctor, I see a host of HTML5 sites and their underlying markup.
In this post, I’ll show you some of the mistakes and poor markup practices I often see and explain how to avoid them. Don’t use section as a wrapper for styling One of the most common problems I see in people’s markup is the arbitrary replacement of <div>s with HTML5 sectioning elements — specifically, replacing wrapper <div>s (used for styling) with <section>s. In XHTML or HTML4, I would see something like this:
HTML5 Specifics & Methods
Html5 games. HTML5 Encoding Secrets. HTML5 Encoding Secrets After viewing this video, video publishers will have all the information they need to encode and stream to HTML5 browsers.
Companies Mentioned: An hour is all a developer needs to begin working with MPEG4/H.264 and WebM video. That's the length of Jan Ozer's information-packed session How To: Encoding Video for HTML5 at the recent Streaming Media East conference in New York City. Presenting detailed information on both formats, as well as the codecs that drive them, Ozer gave viewers the knowledge they need to stream to HTML5 browsers.
The ultimate HTML5 resource guide. Despite the fact that the HTML5 specification won’t officially be finished until 2022, (though it will be mostly finalized by 2014), a lot of designers are already diving into the parts of HTML5 that currently have support in modern browsers.
S Developer Relations Team - Implementing HTML5 <details> Happy first birthday to Blink By Bruce Lawson · Thursday, April 3, 2014 0 Twelve months ago today, I stayed up past my bedtime to blog about the new rendering engine, Blink, being forked from WebKit.
As it's Blink's first birthday, let's take a brief look at where we've got to. Read more… Introducing the world’s most useless extension By Andreas Bovens · Tuesday, April 1, 2014 0 We're proud to introduce the world’s most useless extension for your daily use and enjoyment. Read more… Removing showModalDialog() from the Web platform By Mathias Bynens · Thursday, March 27, 2014 0 The showModalDialog() API is being removed from the Web platform.
On the right is how you might test for attribute support.