W3C home > Mailing lists > Public > public-html@w3.org > September 2009

Re: What attributes are required on the <sytle> element?

From: Sam Ruby <rubys@intertwingly.net>
Date: Wed, 23 Sep 2009 11:11:46 -0400
Message-ID: <4ABA3AB2.1090206@intertwingly.net>
To: Jeff Schiller <codedread@gmail.com>
CC: HTML WG <public-html@w3.org>
Jeff Schiller wrote:
> http://html5.validator.nu/?doc=http%3A%2F%2Fsvg-edit.googlecode.com%2Fsvn%2Ftrunk%2Feditor%2Fsvg-editor.html&showsource=yes

Style elements may only be used in the body of a document if the scoped 
attribute is present.


a) move the element to the <head> if you mean for this style to apply to 
the whole document.


b) add the scoped attribute (as a boolean attribute, i.e., either with 
no value or with either "" or "scoped" as the value) if you mean for 
this style to only apply to this element and any nested content.

> Thanks,
> Jeff

- Sam Ruby
Received on Wednesday, 23 September 2009 15:12:28 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:51 UTC