AMP

Validating your AMP HTML

Because Web Stories are built with AMP, you should always validate that your AMP HTML is correct. There are several methods that you can use to validate AMP pages. In this tutorial, we'll enable the AMP Validator by turning on the developer mode. To turn on the developer mode, add the following fragment identifier to your URL and reload the page:

#development=1

For example:

http://localhost:8000/pets.html#development=1

Open the Developer Console in Chrome (or your preferred browser), and verify there are no AMP errors. You might need to refresh your browser to see validation messages. If your page is free of errors, you should see the message:

 AMP validation successful.