Setting content-type in link attributes

Reading a comment on AlsacrĂŠations, I've discovered that there is a type attribute defined in the link section of the HTML 4.01 spec.

In a nutshell, it's an optional attribute that one can add to a tag to tell the browser the content type it is supposed to receive if following the link.

Unfortunatly, no browser seems to be using it, but I added this support to Caracole anyway.


Tags : #link #html4 #content-type

Want to add something ? Feel free to get in touch on Twitter : @pixelastic

Search