Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Don’t wait for full HTML5 adoption across the Web. Make HTML5 structural tags render properly in all browsers.
So, now you have this whole new world of HTML5 elements that will
let you be both expressive and semantic with your markup. You’ve been
freed from the shackles of divs and can
show your face at parties again!
Semantic markup is the use of markup in a meaningful way. Separation of structure and presentation leads us to define our presentation (look and feel) with CSS, and our content with meaningful or semantic markup.
You’re feeling pretty good about yourself until you remember that some of your visitors are not using HTML5 browsers, and being the web standards elitist that you are, your page has to be backward-compatible. Don’t throw those HTML5 tags out the window just yet. This hack will teach you how to write your code once, and use it on all the browsers out there.