[whatwg] Re: rel="script"

Ian Hickson ian at hixie.ch
Sun Jul 31 11:56:20 PDT 2005


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.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list