hCard (Microformat for vCard)

/ Published in: HTML
Save to your folder(s)

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

Copy this code and paste it in your HTML
  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>

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

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.