Title: Google Html Validation errors
Last modified: January 24, 2023

---

# Google Html Validation errors

 *  Resolved [UmbrellaWeb](https://wordpress.org/support/users/umbrellaweb/)
 * (@umbrellaweb)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/google-html-validation-errors/)
 * Hi there,
 * Using the litespeed plugin it inserts a <noscript> tag when the matomo analytics
   script gets used and is inserted via the seopress plugin in the head which then
   causes multiple validation erros like:
 *     ```wp-block-code
       Error: Bad start tag in p in noscript in head.
       <noscript><p><img s
   
       Error: Stray end tag noscript.
       ="" /></p></noscript></head
   
       Error: Stray end tag head
       /noscript></head><body
   
       Error: Start tag body seen but an element of the same type was already open.
       pt></head><body class=
       ```
   
 * Searching these forums showed that you have an option to omit noscript tags from
   the page optimisation screen BUT turning that ON doesnt remove this OR other 
   <noscript> tags at all.
 * This partiqular <noscript> tag is inserted by litespeed plugin as if you turn
   it off then a <noscript> tag is NOT generated.
 * This issue is happening on multplie sites all of which use the seopress plugins
   funtionalty to include matomo analtyics script.
 * Our understanding and from researching is that an IMG tag and P tags (why they
   are includded we are not sure as they are redundant?) are not permitted child
   elements. as such they should be added into the body and not head.
 * Can you please provide a fix?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/google-html-validation-errors/#post-16406676)
 * please provide the report number
 * you can get it in toolbox -> report -> click “send to LiteSpeed”
 *  Thread Starter [UmbrellaWeb](https://wordpress.org/support/users/umbrellaweb/)
 * (@umbrellaweb)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/google-html-validation-errors/#post-16406771)
 * [@qtwrk](https://wordpress.org/support/users/qtwrk/) done:
 * Report number: **XFUBISCS**
 * Report date: **01/25/2023 10:13:57**
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/google-html-validation-errors/#post-16414727)
 * may I know where/how you validate this ?
 *  Thread Starter [UmbrellaWeb](https://wordpress.org/support/users/umbrellaweb/)
 * (@umbrellaweb)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/google-html-validation-errors/#post-16414912)
 * sure, initially it was highlighted via search console We then ran a screaming
   frog crawl and it was highlighted in that. You can also see it via a w3c validator
   html test which show that error on any site really which will include the noscript
   tag in the header
 *  [usabe](https://wordpress.org/support/users/usabe/)
 * (@usabe)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/google-html-validation-errors/#post-16419832)
 * Hi [@umbrellaweb](https://wordpress.org/support/users/umbrellaweb/)
 * Could you please create a ticket with litespeed by emailing to [support@litespeedtech.com](https://wordpress.org/support/topic/google-html-validation-errors/support@litespeedtech.com?output_format=md)
   with further details? This type of compatibility issue normally requires closer
   working together with the user to figure them out.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Google Html Validation errors’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [usabe](https://wordpress.org/support/users/usabe/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/google-html-validation-errors/#post-16419832)
 * Status: resolved