by Mike McKeown
Web designers have been hearing about HTML5 for a little while now. But what is different? Audio and video support, structural elements and dropped tags (to name a few) brings HTML into the 21st Century… finally.
Here are some (but not all) examples of what is new in HTML5:
- <audio> – For inserting audio on the web page. Has options such as autoplay and loop.
- <video> – For inserting videos on web pages. Has autoplay and loop, and an option to include some alt text, such as the video transcript for the visually impaired. The <video> tag could be very useful for smart phones like the iPhone which don’t support flash.
- New structural elements – Should make structuring and organizing your design easier and more efficient. Examples include:
- <header> – For you page header (not to be confused with the <head> tag).
- <footer> - For the footer, such as copyright text.
- <article> - A blog post would be a great example on how this tag is used.
- <navigation> – For your navigation links.
- New inline elements – Used to indicate times or numbers
- New input form types – Examples include:
- datetime
- date
- month
- range
- url
- Depreciated Tags dropped - Tags which were depriciated in HTML 4.01 have been dropped from HTML5. Examples include:
- applet
- big
- center
- font
- frame and frameset (thankfully)
- strike
- u
- Simpler doctype which is now: <!doctype html>
This article is just a starting point of the new features you will see in HTML5. the changes will be better for both web sites and applications, and in my opinion is much more intuitive and webmaster friendly. Many browsers such as Firefox, Chrome and others support some aspects of HTML5 already, and surprisingly IE9 will be HTML5 compatible, which is amazing considering the fact that IE has a long held reputation of being the enemy of modern web design.
March 16th, 2010 on 8:28 am
I wonder if the tag will work with dynamic content.
For instance, On my site when I want to play a sound because some ajax event has happened that needs to be started from a php script and loaded into a div.
I place a small 1px x 1px flash animation with a looping sound.
When the event has cleared the flash object is no longer there and the sound stops.
I wonder if will work like the flash plugin does.
And thus removing the need to use “workarounds”.
Just a a thought.
March 16th, 2010 on 11:47 am
Here is what I could find on that subject:
http://net.tutsplus.com/videos/screencasts/quick-tip-the-html-5-audio-element/?utm_source=EnvatoTuts2&utm_medium=twitter&utm_campaign=Feed%3A+EnvatoTuts2+%28envato+Tuts+2-3RSS%29
http://www.ajaxwith.com/HTML-5-and-Ajax.html
November 12th, 2011 on 7:53 am
This is a noteworthy and distinctive piece of writing. i feel the viewpoints you’ve got here are not only sound, but conjointly fascinating. Thank you.
November 18th, 2011 on 9:02 am
My spouse and I stumbled over here by a different website and thought I might as well check things out. I like what I see so now i am following you. Look forward to looking over your web page again.