Alfred Allen
Alfred Allen

Reputation: 23

AMP HTML tag is missing

I am getting this error "A mandatory AMP HTML tag is missing from this document" for the below page in my google search console:

https://suntrics.com/tech-blogs/how-to-change-default-gmail-account/

It's a wordpress site, so I am using plugin for AMP. I have also checked in the validator.ampproject.org and it's failed. Showing me the below code.

"The mandatory attribute '⚡' is missing in tag 'html'"

so I please help me to resolve this issue.

Upvotes: 1

Views: 968

Answers (1)

Aaron L.
Aaron L.

Reputation: 151

The document is not a valid AMP document. Please see

https://amp.dev/documentation/guides-and-tutorials/start/create/basic_markup/?format=websites

The error pertains to the following requirement for your HTML document:

Contain a top-level tag ( is accepted as well).

So it doesn't look like the AMP plugin is working correctly.

Upvotes: 1

Related Questions