AMP: Missing/Invalid Doctype HTML Tag

back to issues overview

Missing/Invalid Doctype HTML Tag

AMP HTML documents must start with the doctype, doctype HTML.

How to Analyse in the SEO Spider

View URLs with this issue in the ‘AMP’ tab and ‘Missing/Invalid Doctype HTML Tag’ filter, and export all URLs using the ‘Export’ button.

Read our tutorial on ‘How To Audit & Validate Accelerated Mobile Pages (AMP)‘.

What Triggers This Issue

This issue is triggered when AMP HTML documents do not start with the correct doctype declaration.

How To Fix

Review the AMP HTML specification and update the AMP to meet the guidelines.

Further Reading

Back to top