PostalAddress

From getSchema
Jump to: navigation, search


This Page Semantic Annotations

File:PostalAddress.png
PostalAddress UML Diagram
Supertypes = Thing, Intangible, StructuredValue, ContactPoint
Subtypes = none
Inherited properties = additionalType:URL, description:Text, name:Text, image:URL, url:URL, email:Text, telephone:Text, faxNumber:Text, contactType:Text
Properties = streetAddress:Text, addressLocality:Text, addressRegion:Text, postalCode:Text, postOfficeBoxNumber:Text, addressCountry:Country
Defined by = http://schema.org/PostalAddress
Install RuleTheWeb! the Firefox extension using Schema.org annotations!

Description

Example

The imitial markup of is:

<div class="box">
 <h1>Address:</h1>
 Roots Restaurant at The Orchard Garden Hotel<br>
 466 Bush Street (at Grant Ave)<br>
 San Francisco, California 94108<br>
 Phone: 415.659.0349 <br>
 <a href="mailto:events@theorchardgardenhotel.com">Email Us by clicking here</a>
</div>

and we suggest the following markup (without changing the existent presentation):

<div class="box" itemscope itemtype="http://schema.org/PostalAddress">
 <h1>Address:</h1>
 <span itemprop="name">Roots Restaurant at The Orchard Garden Hotel</span><br/>
 <span itemprop="streetAddress">466 Bush Street (at Grant Ave)</span><br/>
 <span itemprop="addressLocality">San Francisco</span>,  
 <span itemprop="addressRegion">California</span>, <span itemprop="postalCode">94108</span><br/>
 Phone: <span itemprop="telephone">415.659.0349</span><br/>
 <a itemprop="email" href="mailto:events@theorchardgardenhotel.com">Email Us by clicking here</a>
</div>
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox