Wednesday, July 27, 2011

HTML5 - Correct way to use section element

I found this link recently, it's a pretty good article talks about the correct way to use section element.  Since there are so many developers have mistaken the usage of this element, and I think it worth a blog entry on that :)

http://html5doctor.com/the-section-element/

In a nutshell, here is the basic rule of thumbs

  • Don’t use it just as hook for styling or scripting; that’s a div
  • Don’t use it if articleaside or nav is more appropriate
  • Don’t use it unless there is naturally a heading at the start of the section

For more HTML5 resources

HTML5 Glossary

HTML5 - edition for web developers

Can I use

How to order you head section

Efficiently Rendering CSS

Dive Into HTML5
http://diveintohtml5.org/

1 comment:

  1. Thanks for sharing your info. I really appreciate your efforts and I will be waiting for your further write ups thanks once again.
    html5 media player

    ReplyDelete