W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2005

[whatwg] Re: rel="script"

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 31 Jul 2005 18:56:20 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0507311855260.31400@dhalsim.dreamhost.com>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:42 UTC