The item attribute

Using the item attribute for microdata in HTML 5

The item attribute specifies the type of item and may be any of the following:

  • an empty string (item="")
  • an absolute URL (item="http://ExampleOnly.com/microdata/")
  • a dotted reverse (top down) domain name (item="com.exampleonly.microdata")
  • a predefined type name:
    item="vcard"
    contact information
    item="vevent"
    information about a real world event
    item="work"
    information about a licensed work
HTML 5 Examples

Examples of the item attribute in HTML 5


Changes in HTML 5

What's new in HTML 5

Microdata, supported by the item attribute, is new in HTML 5.

Differences between HTML 5 and earlier versions

The whole microdata concept, including the item attribute did not exist as part of the standard in prior versions of HTML.

Last updated Sunday September 19, 2010


Printer-friendly PDF* format:

HTML Microdata using the item attribute

You are currently viewing this page in XHTML 1 Style Sheet* format (* see Clicklets for more infomation). This document is also available in XHTML 1*XML*HTML 4*HTML 5 Style Sheet*HTML 5 XML*HTML 5 non-XML* XHTML Mobile* WML Mobile* and printer-friendly PDF* formats. This is accomplished with Single Source Publishing, a content management system that uses templates in XSLT style sheets provided by XML Styles .com to transform the source content for various content delivery channels. There is also RDF* metadata that describes the content of this document.