hCard (Microformat for vCard)


 / Published in: HTML
 

URL: http://microformats.org/wiki/hcard

hCard is a simple, open, distributed contact information format for people, companies, and organizations.

  1. <div class="vcard">
  2. <p class="fn n"><span class="given-name">Taichi</span> <span class="family-name">Kaminogoya</span></p>
  3. <img src="/common/img/kaminogoya.png" class="photo" alt="Taichi Kaminogoya" width="50" height="50" />
  4. <ul>
  5. <li><a class="url" href="http://2xup.org/" title="2xup">http://2xup.org/</a></li>
  6. <li><a class="email" href="mailto:[email protected]" title="Mail to Taichi Kaminogoya">[email protected]</a></li>
  7. <li class="adr"><span class="locality">Tokyo</span>, <span class="country-name">Japan</span></li>
  8. </ul>
  9. </div>

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: vsync on January 30, 2008

You should state that its part of the Microformats system. see also: http://microformats.org/wiki/hcard

Posted By: jonhenshaw on April 17, 2008

I added the Microformat info.

You need to login to post a comment.