W3C home > Mailing lists > Public > www-style@w3.org > August 2002

Re: Why is the style tag restricted to the head?

From: Jeremy Dunck <ralinon@hotmail.com>
Date: Thu, 08 Aug 2002 17:03:01 -0500
To: www-style@w3.org
Message-ID: <F755WVOQJ0xF4PbpSJq00003b90@hotmail.com>

I wrote:
> > I do think that allowing STYLE anywhere but head is dangerous, as is the
> > STYLE attribute.
Joshua Prowse wrote:
>
>What's the danger?
>

1) You give up the benefit of centralized maintainability.
2) You give up readable markup-- When using the STYLE attribute, there is no 
way to see what the reasoning was for making that particular tag color: red.
3) Binding a particular representation to the content forces separate 
versions of the content based on media, and perhaps based on browser bugs.
4) You give up semantic markup.

What's the benefit?

I do think that it would be beneficial if there was a CSS extension to the 
DOM, which would allow better manipulation of the style rules which apply to 
a particular nodelist.

I do -not- think that that's justification for hacking the [X]HTML as has 
been described here.

  -Jeremy Dunck

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
Received on Thursday, 8 August 2002 18:03:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:15 GMT