Skip to content

Instantly share code, notes, and snippets.

@voku
Created June 4, 2014 09:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save voku/7dd7f6f5746a6636901f to your computer and use it in GitHub Desktop.
Save voku/7dd7f6f5746a6636901f to your computer and use it in GitHub Desktop.
basic microformatted hCard: A basic address and URL, marked up using Microformats. From http://snippetlib.com/html/basic_microformatted_hCard - DEMO: http://jsfiddle.net/voku/RLFeG/
<div id="hcard-Christopher-John-Coyier" class="vcard">
<a class="url fn n" href="http://chriscoyier.net">
<span class="given-name">Christopher</span>
<span class="additional-name">John</span>
<span class="family-name">Coyier</span>
</a>
<div class="org">CSS-Tricks</div>
<a class="email" href="mailto:chriscoyier@gmail.com">chriscoyier@gmail.com</a>
<div class="adr">
<div class="street-address">123 Appleseed Street</div>
<span class="locality">Chicago</span>, <span class="region">IL </span> <span class="postal-code">60647</span>
<span class="country-name">United States</span>
</div>
<div class="tel">555-555-5555</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment