MatSays

HTML5 and CSS3 Without Guilt (Nettuts reblog)

Not every HTML5 or CSS3 feature has widespread browser support, naturally. To compensate for this, enterprising developers have created a number of tools to let you use these technologies today, without leaving behind users who still live in the stone age.


PROLOGUE

HTML5 Semantic Elements

The good news is that, except for Internet Explorer, you can create more semantic markup by using the new HTML5 elements — even in browsers which don’t officially support them. Just remember to set the correct display mode: block. The following snippet should reference all necessary elements:

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
   display: block;
}

The article goes on to detail HTML5 ShivModernizrSelectivizr and other great tools that you can use to move into HTML5 and CSS3. Enjoy!

read the rest of this article on NetTuts


Categories: Code, Notes

Leave a Reply