I have a style element within the body of a HTML document like this:
<body>
<style scoped >
…
But when validating with W3C I get this error:
Element
stylenot allowed as child of elementbodyin this context.
(Suppressing further errors from this subtree.)
I thought that if you added the scoped attribute you could add the style element in the body. I need to add it in the body because we don't have access to the head.
Is there something wrong?