Person Microdata


ATTENTION: THIS PAGE IS Valid HTML 5 AND IS BEST VIEWED WITH HTML 5 - Please upgrade your browser or download one of the HTML 5 compatible browsers such as Mozilla Firefox, Chrome, Opera or IE 9 (March 14, 2011 or later). For more information see HTML 5 browsers.

If you find this helpful, please click the Google +1 Button to the left, if it is white, to make it turn blue or red. Thank you! (It also helps find this page again more easily.)

PDF mobile

Person Microdata

Person microdata can be used to organize information about a person, which is sometimes called the person's profile or user profile.

John Doe
Second Unit Director for Beverly Hills Television Studio
Directors Guild of America
123456 Seventh Street
Beverly Hills, CA 90210

This is an actual working example of the Person microdata example code below.


Item type:

Most of these Person properties are derived from the hcard microformat, except for friend, contact and acquaintance, which are XFN properties.

namerequiredThe person's name.
nicknameThe person's nickname.
photoA URL to an image resource (<img src>), which should be a photo of the person.
titleThe person's job title.
roleThe person's job role, which is the set of tasks and responsibilities the person has in their job position.
urlThe URL for the primary web page for the person, such as the user's profile page.
affiliationThe name of the company or organization that the person is associated with, or a Organization microdata item for the business or organization.
friendThe name or URL (<a rel="friend">) of one friend of the person or a Person microdata item for the friend.
contactThe name or URL (<a rel="contact">) of one contact of the person or a Person microdata item for the contact.
acquaintanceThe name or URL (<a rel="acquaintance">) of one acquaintance of the person or a Person microdata item for the acquaintance.
addressThe address of a possible location of the person or a Address microdata item for the location.
Person microdata example
(see Person microdata demo above)
<dl itemscope="itemscope" itemtype="">  
   <dt><label>Name:</label> <span itemprop="name">John Doe</span></dt>
   <dd><label>Nickname:</label> <span itemprop="nickname">Jack</span></dd>
   <dd><label>Position:</label> <span itemprop="title">Second Unit Director</span>
      for <span itemprop="affiliation">Beverly Hills Film Studio</span></dd>
   <dd><label>Role:</label> <span itemprop="role">Director</span></dd>
   <dd><label>URL:</label> <span itemprop="url"></span></dd>
   <dd><label>Affiliation:</label> <span itemprop="affiliation">Directors Guild of America</span></dd>
      <div itemscope="itemscope" itemtype="" style="margin-left: 5em">
         <span itemprop="street-address">123456 Seventh Street</span><br/>
         <span itemprop="locality">Beverly Hills</span>, <span itemprop="region">CA</span>
         <span itemprop="postal-code">90210</span><br/>
         <span itemprop="country-name">USA</span>

The second and third lines of the address, starting with the <span> tags having itemprop="locality" and itemprop="country-name", are not indented to ensure the browser does not add whitespace before those lines.

Valid HTML 5