W3C validation errors – style tags in div elements

Posted in: Newspaper
Post count: 20

Hello tagDiv Support Team,
I’m using the Newspaper theme (version 12.7.1) on my website oblo.it, and I’ve run a W3C HTML validation check that shows multiple errors related to <style> tags being placed inside <div> elements.

Error details:

Error message: “Element style not allowed as child of element div in this context”
Occurrences: 60+ times throughout the page
Validation tool: https://validator.w3.org/

These errors appear to be generated by the tagDiv Composer page builder when creating inline styles for blocks and elements.

My question:

Is there an updated version of the theme or a patch available that addresses these W3C validation errors?
Are you planning to fix this in a future release?
Is there a recommended workaround that maintains full theme functionality?

I understand these errors don’t affect the site’s functionality, but I’d like to improve the technical score and W3C compliance if possible.

Thank you for your assistance.
Best regards,
Paolo Fuschino
Website: oblo.it

Post count: 35449

Hi,
Testing any website with the w3c validator will most likely provide errors for each one
https://blog.codinghorror.com/html-validation-does-it-matter/
So it could be said that the test is too strict, maybe unimportant in a way.

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.