htmlsemantic-markup

How to semantically name divs according to HTML5?


I have this [deleted] which I am gonna transform in html, using HTML5 and CSS3. Having all these paragraphs in the content area, how is it better to name them, where do I use aside, how would you do? The photo will actually be a slideshow with photos from Flickr, taken out of a JSON feed with jQuery.

Any relevant articles on this?


Solution

  • Well, based on your layout, I'd say just to use as many of the HTML5-native semantic elements as you can:

    Generally, the best call is just to go with your gut instinct, and if you're still confused, do a quick check through a full HTML-element listing, and see if any of HTML's many tags describe your content correctly.