Add Site or Add Page to Favorites
 

 HTML Microdata using the item attribute 

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

You are currently viewing this page in HTML 5 XML* format (* see Clicklets for more infomation). This document is also available in XML* HTML 5 non-XML*XHTML 1 Style Sheet*HTML 5 Style Sheet* XHTML 1* HTML 4* 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.


Copyright © 2010 Accilent® Corp. Alteration of content, including addition of any function such as hypertext links or pop-up advertising, or interference with the hypertext links or other functions of this site is expressly prohibited.

DISCLAIMER: All information, links, forms, applications and other items on this site or obtained from it are provided AS IS, WITHOUT WARRANTY OF ANY KIND EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.