How do I use a <style> element within a <noscript> tag?
问题 I have a site where I have a <noscript> tag below my <script> tag in case the javascript fails to load. It basically turns off some CSS values to do with some smooth scroll JS code and a pre-loader. However when I run the site through the w3c HTML validator it says: Element style not allowed as child of element noscript in this context. (Suppressing further errors from this subtree.) The code I'm using is: <noscript> <style type="text/css" media="screen">#main-body {opacity: 1 !important; }