Address 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

Address Microdata

Address microdata identifies a physical geographic location by its mailing address. Although sometimes used by itself, it can also be used for the value of a property of another microdata item, such as a Person or Business or Organization.

123456 Seventh Street
Beverly Hills, CA 90210
USA

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

Syntax

Item type: http://data-vocabulary.org/Address

PropertyDescription
street-addressThe street address, including the street number and street name.
localityThe city, town or other locality.
regionThe state, province, territory or other region of the country.
postal-codeThe postal code.
country-nameThe country name part of the address.
Examples
Address microdata example
(see Address microdata demo above)
<div itemscope="itemscope" itemtype="http://data-vocabulary.org/Address">
   <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>
</div>

As explained in the description of the <br/> tag, a mailing address is one place where use of the break tag is appropriate.


Valid HTML 5