Title: &#8216;Noscript in head contains invalid HTML elements&#8217;
Last modified: February 9, 2021

---

# ‘Noscript in head contains invalid HTML elements’

 *  [bwickham](https://wordpress.org/support/users/bwickham/)
 * (@bwickham)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/noscript-in-head-contains-invalid-html-elements/)
 * Hi all,
    I’ve run my website through sitechecker.pro and the following error 
   has come up as critical on 58 pages: ‘Noscript in head contains invalid HTML 
   elements’
 * Can anyone please suggest what I need to do to fix this?
 * Thanks and regards,
    BW
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fnoscript-in-head-contains-invalid-html-elements%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * (@catacaustic)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/noscript-in-head-contains-invalid-html-elements/#post-14023293)
 * It looks like a Facebook tracking script has been placed in the wrong place.
 * It’s been put in the <head> tag, when it should go just after the opening <body
   > tag. Because the <noscript> part of it has an image tag in it, that makes in
   invalid to have in the <head> of your document.

Viewing 1 replies (of 1 total)

The topic ‘‘Noscript in head contains invalid HTML elements’’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [html](https://wordpress.org/support/topic-tag/html/)
 * [noscript](https://wordpress.org/support/topic-tag/noscript/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/noscript-in-head-contains-invalid-html-elements/#post-14023293)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
