Search code snippets, questions, articles...

Preview and validate AMP web page

You can follow the below steps to preview and validate your AMP pages.
    To preview an AMP webpage 
    Just open the page in your web browser
    If your page is throwing xmlHTTP error
    Install any Local serve and serve you webpage from there

    To check validity of your AMP page 
    Add or append #development=1 to the end of url
    eg. http://localhost/home.html#development=1
    If your page has errors it will show them in Google chrome console
Was this helpful?