I was asking myself for the markup of a list of entries of a blog.
Which could be like that:
Case 1 :
<article>...</article>
<article>...</article>
<article>...</article>
or case 2 :
<ol reversed>
<li><article>...</article></li>
<li><article>...</article></li>
<li><article>...</article></li>
</ol>
The example seems to be logic: "it's a list of entries order by desc date"
An other example is a list of important step to use a product:
<ol>
<li><section><h1>step 1</h1></section></li>
<li><section><h1>step 2</h1></section></li>
<li><section><h1>step 3</h1></section></li>
</ol>
To get an outline like:
product name
description
how to use
step 1
step 2
step 3
customer reviews
etc
Do you think it’s too much markup for this content?
My purpose is to get a best HTML5 syntax and outline, but I don’t want to fill the HTML with useless tags.
EDIT: The real question isn’t what is better but it’s more something like to know what developers are thinking about this different ways. Because there are a lot of ways to do things, but sometimes if 2 ways are correct there is maybe a more "logical" or "relevant" method to do it.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…