- From: David Dorward <david@dorward.me.uk>
- Date: Mon, 26 Mar 2012 09:19:05 +0100
- To: Martijn Otto <martijn.otto@copernica.com>
- Cc: www-validator@w3.org
On 26 Mar 2012, at 08:39, Martijn Otto wrote: > I am having issues validating a html5 document with an inline style tag. The validator complains about a missing scoped attribute. > > When checking the specs, it says that the scoped attribute is a boolean one. This means that including it at all means a true value. To give false for the attribute it has to be omitted entirely. > > Therefor, omitting the attribute has to be valid, otherwise there would be no valid way to specify a non-scoping style tag. There is: Put the style element in the head. Style elements in the content part of the document must be scoped. -- David Dorward http://dorward.me.uk
Received on Monday, 26 March 2012 08:19:42 UTC