
Untitled
By: a guest on
Aug 8th, 2012 | syntax:
None | size: 0.79 KB | hits: 5 | expires: Never
What is the correct HTML semantic tag for generated data in a list?
<ul>
<li> <label> Item </label> <span> Poster(is span correct for this area?) </span> </li>
<li> <label> Date </label> <span> XX/XX/20XX </span> </li>
<li> <label> Cost </label> <span> $10 </span> </li>
</ul>
<ul>
<li> <label> Item </label> Poster(is span correct for this area?) </li>
<li> <label> Date </label> XX/XX/20XX </li>
<li> <label> Cost </label> $10 </li>
</ul>
<ul>
<li><strong>Item:</strong> Poster</li>
<li><strong>Date:</strong> XX/XX/20XX</li>
<li><strong>Cost:</strong> $10</li>
</ul>
<table>
<tr>
<th scope="row">Item</th><td>Poster</td>
<th scope="row">Date</th><td>XX/XX/20XX</td>
<th scope="row">Cost</th><td>$10</td>
</tr>
</table>