• Resolved Hector Cabrera

    (@hcabrera)


    Hi there!

    I’m running a W3C HTML validation test on a client’s website and we noticed that this error message appears when the Lazy-load Images option is enabled:

    Element style not allowed as child of element noscript in this context.

    I realize that this doesn’t really affect the performance of the website but it’s still invalid HTML.

    This is the offending code:

    <noscript><style>.lazyload{display:none;}</style></noscript>

    Disabling the Lazy-load Images option fixes the problem but, of course, then images are no longer being lazy loaded.

    Is there any chance you could look into this?

    Thanks in advance!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘W3C Validator: “Element style not allowed as child of element noscript”’ is closed to new replies.