Having trouble deciding whether to use a div
, section
or article
in your HTML5 page? Oli Studholme has a great article explaining how they should be used and provides a very simple method for deciding which to use.
To decide which of these three elements is appropriate, choose the first suitable option:
1. Would the enclosed content would make sense on it’s own in a feed reader? If so use
2. Is the enclosed content related? If so use
3. Finally if there’s no semantic relationship useRead the full article at http://bit.ly/1cVXQ7R.