[uf-discuss] hcard validation

Tantek Ç elik tantek at cs.stanford.edu
Tue Apr 18 07:45:30 PDT 2006

On 4/18/06 12:36 AM, "Aaron R. Fulkerson" <aaronf at mindtouch.com> wrote:

> Should my a href classes be prefixed with an 'url '?

Only if the href URL represents *you*.   I.e.:

> <div class="vcard" style="background-color: #FBFFBF; width:375px;
> line-height: normal; padding: 5px;" >
> <img src="http://ninje.com/images/e/ea/AaronFulkerson.png" alt="photo"
> class="photo" style="float:left; margin:5px; margin-bottom: 10px;
> margin-right:10px; padding: 10px;"/>
> <a class="url fn" href="http://www.ninje.com">Aaron R. Fulkerson</a><br/>


> <a class="url org" href="http://www.mindtouch.com">MindTouch</a>

No, because that is MindTouch's URL, not yours.

> <a class="url email" href="mailto:aaronf[SPAM]@mindtouch.com">aaronf at
> mindtouch dot com</a>

You could do this, but it is somewhat redundant/unnecessary since it will be
already more specifically parsed as your email address.  There is no need
for it and thus I would advise against it.



More information about the microformats-discuss mailing list