Results 1 to 25 of 32
Jul 26, 2012, 13:16 #1
- Join Date
- Jun 2012
- 1 Post(s)
- 0 Thread(s)
Quick Question on Semantic HTML5 Structure (sections & articles)
So im laying out a services page for a website (general service information), and there are a few primary services, and a larger number of secondary services (with the majority of those, less important than the minority).
My question is, Which way is best to structure the HTML code that contains this information?
This is what I have so far:
h1 - service one title
h1 - service two title
h1 - service three title
articleh2 - secondary service one title (ie: service four)
h2 - secondary service two title (ie: service five)
h3 - tertiary service one title (ie: service six)
h3 - tertiary service two title (ie: service seven)
h3 - tertiary service three title (ie: service eight)
h3 - tertiary service four title (ie: service nine)footer
Now, is this correct?
Or should each of the Primary Services (ie the top three sections), have a single article inside them too? ...to hold the service information? Matching the layout/structure of the secondary and tertiary services
Is an article always needed, or is it oay to sometimes place content inside just a section? If so, when? As per above?
I know this is probably a small matter, and may not matter to most, but im really quite into making sure things are done as correctly as possible, and still adjusting to HTML5 from HTML4/XHTML so would appreciate any advice.