By now, everyone in the world of web programming has had at least some experience with HTML-5. The web is loaded with great resources that provide all the details you’d ever want to know about this new standard for structuring your webpage. But with all the information out there, some are still confused as to what all the fuss is about.
Well, I’ll tell you. Here are a few of the things that I’m most excited about with regard to HTML-5:
- New Semantic based tags instead of old div’s: Traditionally, a web developer’s life was overrun with generic divs and spans for all kind of containers in HTML. With HTML-5, there are new semantic-based tags which are container relevant to their usage. There are a number of tags introduced named <header> for header of webpage, <footer> for footer , <section> etc which are more relevant to their usage than the previous generic divs.
- No Plug-in for Video: Previously, video required some type of plug-in, like Flash, QuickTime or Silverlight to name a few. With HTML-5, we can now simply use the <video> tag – how easy is that? However, for playing video with HTML-5, the limitation is that we need to encode video into 4 different types of formats to play it consistently across the web (and more than 10 types of video formats to play it across all the mobile devices). The reason being is that we’re in the middle of a browser war when it comes to supporting video format. Someday, the battle will be over, but not anytime soon.
- No Plugin for Audio : Similar to video, audio can now be played using <audio> tag with the help of HTML-5. Again the downside is that not all browsers support them.
- Canvas Support: Canvas support is huge deal for web developers. With the power of Canvas, they can now draw things programmatically and dynamically (on the fly) on to their screen (stage). In the past, they were dependent on languages like action script for such activities.
I can go on praising HTML-5 for its other features – like support for geo-location, offline storage and history API – but that’s not point of this blog. There are a lot of informative resources available online (like this) if you are interested in knowing more about that.
The reason I’m so interested with HTML-5 has to do with the terrific support and response from the developer community. Specifically, I’m wondering if the tester community has (or will have) the same sort of enthusiasm for HTML5.