Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 8th, 2012  |  syntax: None  |  size: 0.79 KB  |  hits: 5  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. What is the correct HTML semantic tag for generated data in a list?
  2. <ul>
  3.     <li> <label> Item </label> <span> Poster(is span correct for this area?) </span> </li>
  4.     <li> <label> Date </label> <span> XX/XX/20XX </span> </li>
  5.     <li> <label> Cost </label> <span> $10 </span> </li>
  6. </ul>
  7.        
  8. <ul>
  9.     <li> <label> Item </label>  Poster(is span correct for this area?)  </li>
  10.     <li> <label> Date </label>  XX/XX/20XX </li>
  11.     <li> <label> Cost </label>  $10 </li>
  12. </ul>
  13.        
  14. <ul>
  15.     <li><strong>Item:</strong> Poster</li>
  16.     <li><strong>Date:</strong> XX/XX/20XX</li>
  17.     <li><strong>Cost:</strong> $10</li>
  18. </ul>
  19.        
  20. <table>
  21.     <tr>
  22.         <th scope="row">Item</th><td>Poster</td>
  23.         <th scope="row">Date</th><td>XX/XX/20XX</td>
  24.         <th scope="row">Cost</th><td>$10</td>
  25.     </tr>
  26. </table>