Categories: AMP

AMP – How to Fix Prohibited or Invalid Use of HTML Tag Error Due to WordPress Emoji Style

Since the release of WordPress 4.2, the Emoji style code was embedded into the WordPress sites. Emojis or smileys allow users to express their feelings using icons. If you are using the official AMP plugin for WordPress by Automatic, the WordPress emoji style code will generate AMP site validation errors as the code is not compatible with AMP. You will see an error message like the one shown below:

Once the error is clicked on, the impacted code is displayed on the right side and it’s no other than the Emoji or wp-smiley CSS code embedded into WordPress. A snapshot of the code is shown below:

There are many sites which provide a plugin free alternative to removing this code from the posts, however, I was unsuccessful in removing the Emoji code using those methods. The quickest and the easiest method which worked for me was to use the plugin called Disable Emojis by Ryan Hellyer. After downloading and activating this plugin, the error disappeared and the site became AMP validated.

David

View Comments

  • Very nice, this is what I am looking for for a long time.
    thank for helping me to remove my Invalid Use of HTML Tag Error in search console...
    Cheers...

Share
Published by
David

Recent Posts

How to Fix Crowdstrike/BSOD Issue With Windows

If you are experiencing issues with your Windows system due to the Crowdstrike update, here's…

9 months ago

Koodo – Amazon Prime, Netflix and Disney+ for only $10 a month

Koodo customers in Canada can now get Amazon Prime, Netflix Standard with ads and Disney+…

10 months ago

We received your request for a single-use code to use with your Microsoft account

If you received an email with a single use code to login to your Microsoft…

1 year ago

How to fix The Microsoft account login server has detected too many repeated authentication attempts

If you are trying to login to your Microsoft account and getting the following error…

1 year ago

How to Keep Microsoft Teams Status Available All the Time

Most system admins set Microsoft Teams status to show Away when you are inactive for…

1 year ago

How to insert “\” if you don’t have a backslash key

If you are using a Windows computer and your keyboard doesn't have a backslash "\"…

1 year ago