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

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.

Either:

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

or

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