How to Fix Prohibited or invalid use of HTML Tag AMP Error

2
Prohibited or invalid use of HTML Tag

Ever since the mobile Internet users have crossed desktop visitors, webmasters are trying hard to make website which are mobile compatible. Consumers now want information right from their smartphone or tablet PC. As such need of having faster loading mobile pages is on high. Everyone wants faster accessible pages, which can be displayed even from slow 2G or 3G mobile data connection. Google has also added website loading speed as one of the parameters to rank a website in the Google search engine. Accelerated Mobile Pages(AMP) is the latest open source technology adopted by Google and the webmasters to speed up their website for mobile users.Prohibited or invalid use of HTML Tag

Typically AMP is a way to build faster loading webpages which has static content. Publishers who are using WordPress can simply implement it by using any of the AMP WordPress plugin.

Here in this particular case we are dealing with guide on how to fix ‘Prohibited or invalid use of HTML Tag‘ when you implement AMP on WordPress. It’s a common AMP Error that should be fixed.

How to Identify Prohibited or invalid use of HTML Tag Error Pages

If you are on this page then you might have noticed this AMP error. Google’s Search Console, formerly the Webmaster tools helps you to easily identify pages with AMP error on your website.

Also Read – 51 Best ever WordPress Plugins

So head on to Search Console > Search Appearance and then click on Accelerated Mobile Pages.Search Console AMP

You will see a graph depicting AMP pages indexed and the AMP pages with error in orange line.

Fixing the AMP Errors

Actually fixing the AMP error lies in clearly understanding what the problem is. So, its important that you completely understand the problem or read what does Google has to say.

So, to get a detailed report, click on the issue relating to invalid HTML tag use and it will list out all the pages that has this AMP implementation wrongly.amp-reports-on-search-console

You can download the page URLs with errors which also shows last time when it was detected.

Also if you click on any of the AMP pages URL, you will get full details where the error happens.Prohibited or invalid use of HTML Tag

As you see in the above screenshot, the error what I did was in implementing phone table in that particular web page. I added table border which by AMP, is an invalid HTML tag. So I will have to remove the WordPress table border.

Learn how I make $3000+ a month from blogging

So this is how you can fix invalid use of HTML Tag errors on AMP pages of your website.

Do comment below if you have any particular problem relating to AMP on your WordPress blog.

2 COMMENTS

Ask me Anything - Just Comment Below