hcard-tests
hCard Tests
This page is for documenting hCard tests / test cases, both directly, and by reference.
Test Cases
simple hCard
- code
<span class="vcard"><span class="fn n">Tantek Çelik</span></span>
- inline
Tantek Çelik
a bunch more
John Doe normal card
John Doe card with an ID
John Doe2 tabs in class fields
John Doe3 LFs in class fields
John Doe3
CRs in class fields
John Doe4 lang dominating vcard
John Doe5 xml:lang on name elt
one from <a href="http://tantek.com/microformats/hcard-creator.html">hCard Creator</a>... hmm... no email address support?
<img style="float:left; margin-right:4px" src="" alt="photo" class="photo"/> <a class="url fn" href="http://www.w3.org/">Dan Connolly</a>
Cambridge, MA
02139
one from <a href="http://thedredge.org/2005/06/using-hcards-in-your-blog/">The Dredge // Blog Archive // Using hcards in your blog</a>:
<a href="http://suda.co.uk" title="Visit brian suda's website"><img src="" alt=""/></a> <a class="fn url" rel="contact colleague" href="http://suda.co.uk">brian suda</a> <a href="#comment-" title="">25.6.05</a> <a href="http://gmpg.org/xfn/">XFN</a>: contact colleague
#001087
External Tests
DanConnolly is working on hcardTest.html; the current version is always available. (I dunno why cvsweb uses the ordinary looing URL for the changelog rather than the current version.)