Research Log of Web Science Students

Computer Science is not simply programming

Safe!

leave a comment »

So, it’s actually safe to put typeof, resource, rel, property, etc. attributes to HTML tags.

<body xmlns:ctag="http://commontag.org/ns#" rel="ctag:tagged">
   <span typeof="ctag:Tag" 
         rel="ctag:means" 
         resource="http://rdf.freebase.com/ns/en.u2" 
         property="ctag:label" content="U2"/>
    </span>
</body>

Partner posted a question over at Stack Overflow and we got quite a good reply.

The typeofresource and property attributes are extensions to XHTML which are part of the RDFa specification which is why Eclipse doesn’t know about them. Since RDFa+XHTML is now a W3C recommendation this is absolutely fine to use as is.”

Hooray for W3C. (And for tying with MyMathVentures on the number of blog posts. LOL.)

Advertisements

Written by Paolo Sy

October 9, 2009 at 4:21 pm

Posted in Hardwire

Tagged with , , , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: