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:
[INDENT]header
[/INDENT]
[INDENT=2]logo
nav[/INDENT]
[INDENT]
div #main
[/INDENT]
[INDENT=2]section
[/INDENT]
[INDENT=3]h1 - service one title
p[/INDENT]
[INDENT=2]
section
[/INDENT]
[INDENT=3]h1 - service two title
p[/INDENT]
[INDENT=2]
section
[/INDENT]
[INDENT=3]h1 - service three title
p[/INDENT]
[INDENT=2][SIZE=1]
section .secondaryservices
[/SIZE][/INDENT]
article
[INDENT=4]h2 - secondary service one title (ie: service four)
p[/INDENT]
[INDENT=3]
article
[/INDENT]
[INDENT=4][SIZE=1]h2 - secondary service two title (ie: service five)
p
[/SIZE][/INDENT]
[INDENT=3][/INDENT]
[INDENT=2][SIZE=1]section .tertiaryservices
[/SIZE][/INDENT]
[INDENT=3] article
[/INDENT]
[INDENT=4]h3 - tertiary service one title (ie: service six)
p
[/INDENT]
[INDENT=3]article
[/INDENT]
[INDENT=4]h3 - tertiary service two title (ie: service seven)
p
[/INDENT]
[INDENT=2]
[/INDENT]
[INDENT=2][INDENT]article
[/INDENT]
[INDENT=2]h3 - tertiary service three title (ie: service eight)
p[/INDENT]
[/INDENT]
[INDENT]
[INDENT=2]article
[/INDENT]
[INDENT=3]h3 - tertiary service four title (ie: service nine)
p
[/INDENT]
footer
[/INDENT]
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.
Thanks guys!