AMP Page URL is missing the <html amp> tag

This means that the URL in question is an AMP Page URL, which does not contain an <html amp> tag.

Why is this important?

AMP HTML documents are required to contain a top-level <html amp> tag. If the tag is not present, search engines may not consider the HTML valid and may not index the page properly, or include it in search results.

What does the Hint check?

This Hint will trigger for any AMP Page that does not include the <html amp> tag.

Examples that trigger this Hint

Consider the AMP URL: https://example.com/page-a/amp/

The Hint would trigger for this URL if it had no <html amp> or <html ⚡> tag in the HTML.

How do you resolve this issue?

Add a <html amp> tag in the <head> (<html ⚡> can also be used, interchangeably):

<!doctype html>
<html amp>
<head>
<meta charset="utf-8">
<title>Sample document</title>
...
</head>
...
</html>

Further Reading

Ready to try Sitebulb?
Start your free 14 day trial now

Start Free Trial