HTML - tags - <data>

#32 of 147
data

 <html>
 <body>
     <p>Novels of Philip K. Dick</p>
     <ul>
         <li><data value="978-0-547-57241-3">Valis</data></li>
         <li><data value="978-0-547-57229-1">Ubik</data></li>
         <li><data value="978-0-544-04889-8">Total Recall</data></li>
     </ul>
 </body>
 </html>
 

The data element adds machine readable data to an element.

Not to be confused with HTML5 data attributes.

A live example:


Novels of Philip K. Dick

  • Valis
  • Ubik
  • Total Recall

N of

Ads by Google