Hi,
I am not technically minded and don’t know anything about coding – hence my question!
I ran an SEO site report and received over 2000 errors for the 20 pages on my site all relating to the below. How do I fix this? I really have no idea.
Thanks!
This is the type of error I have on every single page and post. Around 100 errors per page.
Element “style” not allowed as child of element “div” in this context
At line 472, column 14
Element “style” not allowed as child of element “div” in this context
At line 509, column 55
Element “style” not allowed as child of element “div” in this context
At line 518, column 14
Element “style” not allowed as child of element “div” in this context
At line 546, column 14
Element “style” not allowed as child of element “div” in this context
At line 581, column 7
Element “style” not allowed as child of element “div” in this context
At line 595, column 7
Element “style” not allowed as child of element “div” in this context
At line 654, column 14
Element “style” not allowed as child of element “div” in this context
At line 689, column 7
Element “style” not allowed as child of element “div” in this context
At line 702, column 7
Too many errors. Any further errors will be ignored. See the full list in Validator.
Hi,
From what I am told this will not resolve this issue with the code on the page.
This is the impact I have been informed of:
A substantial number/critical type of HTML errors can lead to certain parts of offending pages not being correctly indexed by Google as their crawlers simply are unable to read the code if it does not conform to HTML standards. It’s quite easy to make HTML errors and without a tool to carefully scan through your code. Your SEO rankings can quickly evaporate after making content changes to your pages, and realizing far too late that Google can no longer read these new changes as you’ve incorrectly placed an attribute.
Google’s spokesman John Mueller elaborated on this saying that:
While HTML validity is not a direct ranking factor, critical HTML errors get in the way of Google achieving the following:
successful crawling of a site and indexation of SEO relevant pages;
crawling, reading, and understanding of structured markup on a page;
rendering your site’s pages correctly on mobile devices and displaying different versions of your site correctly based on cross-browser compatibility.
Hello,
Please disable the SUCURI plugin and check after that.
As far as I know, this plugin does not work with our theme and functionality issues may occur.
Also, you can check this topic https://docs.contentviewspro.com/fix-issue-element-style-not-allowed-child-element-div-context/
Also, please make sure the theme install was done correctly
Install via WordPress -> https://forum.tagdiv.com/install-via-wordpress/
Install via FTP -> https://forum.tagdiv.com/install-via-ftp/
Thank you!
Thanks.
I’ve disabled sucuri.
Regarding the other link – this appears to refer to a plugin called contentviews pro that I don’t have? Will it actually make any difference as the code appears to be specific to the plugin?
https://docs.contentviewspro.com/fix-issue-element-style-not-allowed-child-element-div-context/