Streaming live at 10am (PST)

Facebook Pixel noscript tag problem

Hi,

I have a problem, when I check my website for validation on W3C i got these errors about the noscript tag on a Facebook pixel pasting into the head tag. Any ideas? Please see below for the errors i had mention. Thank you.

Error: Bad start tag in img in noscript in head.
<img height=“1” width=“1” style="display:none":leftwards_arrow_with_hook: src="https://www.facebook.com/tr?id=2591310934281506&ev=PageView&noscript=1":leftwards_arrow_with_hook:/></nosc

Error: Element head is missing a required instance of child element title.
<img height=“1” width=“1” style="display:none":leftwards_arrow_with_hook: src="https://www.facebook.com/tr?id=2591310934281506&ev=PageView&noscript=1":leftwards_arrow_with_hook:/></nosc

Error: An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images.
<img height=“1” width=“1” style="display:none":leftwards_arrow_with_hook: src="https://www.facebook.com/tr?id=2591310934281506&ev=PageView&noscript=1":leftwards_arrow_with_hook:/></nosc

Error: Stray end tag noscript.
ript=1":leftwards_arrow_with_hook:/>:leftwards_arrow_with_hook:<!–

would you maybe have a screen shot of the error ?
The code snipet with the :leftwards_arrow_with_hook: symbol doesn’t mean much I’m afraid :slight_smile:

EDIT:

If you wish to use the noscript tag, you should use it like so:
<noscript> whateveryourscriptis </noscript>

the </nosc from your example looks incomplete.

Hello @anthonysalamin,

Thanks for your recommendation. But I still have the error on the validator site. Please see the screenshot below. What should i do to fix this?

Hi @Louise_Savoie,

from what I see, your code still has this weird :leftwards_arrow_with_hook: charachter, not sure what it is. Also the no script tag seems not to be correctly closed.

Where did you get the code from ? Could you share the full code here so we can have a look and use the preformatted text icon here on the webflow post to format your code ?

Hi @anthonysalamin,

I got the code on my Facebook pixel but it has no weird :leftwards_arrow_with_hook: charachter.

That weird character was just found when I run my website on W3C Markup Validator.