[whatwg] Re: rel="script"

On Sun, 31 Jul 2005, Ian Hickson wrote:
> > 
> > What's the advantage of rel="stylesheet" over <style>@import 
> > "";</style>?
> 
> You can do alternate stylesheets with <link> but not with <style>.

Er. I'm talking nonsense here.

The advantage of rel="stylesheet" over <style>@import</style> is that the 
former works for all stylesheet languages, whereas the second only works 
for CSS (and not, e.g., XSLT).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Sunday, 31 July 2005 11:56:20 UTC