Back in 2010 I wrote a template for marking up contacts using the hCard microformat and HTML5 microdata using vocabulary from data-vocabulary.org. ┬áThis can be a useful copy and paste reference, so I’ve updated it to use the vocabularies from schema.org.

Sample

One of the things missing from data-vocabulary at the time was phone numbers. ┬áThat’s now added.

<ul itemscope="itemscope" itemtype="http://schema.org/ContactPoint/">
	<li class="tel"><abbr class="type" title="home pref" itemprop="contactType">Home:</abbr> <abbr class="value" itemprop="telephone" title="+1##########">(###) ###-####</abbr></li>
	<li class="tel"><abbr class="type" title="work" itemprop="contactType">Office:</abbr> <abbr class="value" itemprop="telephone" title="+1##########">(###) ###-####</abbr></li>
	<li class="tel"><abbr class="type" title="mobile" itemprop="contactType">Cell:</abbr> <abbr class="value" itemprop="telephone" title="+1##########">(###) ###-####</abbr></li>
	<li class="tel"><abbr class="type" title="fax" itemprop="contactType">Fax:</abbr> <abbr class="value" itemprop="telephone" title="+1##########">(###) ###-####</abbr></li>
</ul>