W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > May 2007

Re: Doubt about href attribute

From: Elias Torres <elias@torrez.us>
Date: Wed, 23 May 2007 13:21:41 -0400
Message-ID: <46547825.8000304@torrez.us>
To: Josť Manuel Cantera Fonseca <jmcf@tid.es>
CC: RDFa <public-rdf-in-xhtml-tf@w3.org>

This is an issue we are still working through (@href on any element).

I'd personally would do the following:

<div class="v:Org" about="#company1">
   <p>
       We offer <a rel="ex:servicesOffered"
	href="http://example.org/ITConsulting">
		IT Consulting Services</a>
   </p>
</div>

<link> is no longer used inside the body element, you can only use it
within the <head>. Therefore, it's either <a> or @href on any element.
I'd prefer the <a>. However, this is not the official position of the WG
at the moment, but at least I wanted to reply.

-Elias

Josť Manuel Cantera Fonseca wrote:
> 
> Hello all,
> 
> Is this valid in RDF-A?
> 
> <div class="v:Org" about="#company1">
>    <p>
>        We offer <span property="ex:servicesOffered"
> href="ex:ITConsulting">IT Consulting Services</span>
>    </p>
> </div>
> 
> or should I use this instead?
> 
> <div class="v:Org" about="#company1">
>    <p>
>        We offer IT Consulting Services
>    </p>
>    <link rel="ex:servicesOffered" href="ex:ITConsulting" />
> </div>
> 
> Thanks and best regards
> 
> 
> 
Received on Wednesday, 23 May 2007 17:21:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:15:04 GMT