Spider evaluates the AMP HTML format in accordance with the AMP HTML Specification:
AMP HTML documents MUST
- start with the doctype <!doctype html>
- contain a top-level <html ⚡> tag (<html amp> is accepted as well)
- contain <head> and <body> tags (They are optional in HTML)
- contain a <link rel="canonical" href="$SOME_URL"> tag inside their head that points to the regular HTML version of the AMP HTML document or to itself if no such HTML version exists
- contain a <meta charset="utf-8"> tag as the first child of their head tag
- contain a <meta name="viewport" content="width=device-width"> tag inside their head tag. It's also recommended to include minimum-scale=1 and initial-scale=1
- contain a <script async src="https://cdn.ampproject.org/v0.js"></script> tag inside their head tag
- contain the AMP boilerplate code (head > style[amp-boilerplate] and noscript > style[amp-boilerplate]) in their head tag
Should you encounter this error, kindly verify that all conditions have been met.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article