AMP HTML (Accelerated Mobile Pages HTML) is a project to make the web faster as well as easier to develop. It is a set of HTML tags, a JavaScript library, and a cache for AMP-compliant pages.
The project homepage is at https://amp.dev/, and the framework source code can be found at https://github.com/ampproject/amphtml.
AMP HTML is HTML with some restrictions for reliable performance and some extensions for building rich content beyond basic HTML. The AMP JS library ensures the fast rendering of AMP HTML pages.
An easy-to-follow tutorial can be found on the project's homepage.
Validating AMP pages
There are five ways to validate an AMP page:
- Browser Developer Console - Add
#development=1
to the URL, for example http://localhost:8000/released.amp.html#development=1, then check the browser console for validation errors. - Web Interface - Paste the URL (or the page code) at https://validator.ampproject.org/
- Browser Extension - Use the AMP Validator extension for Chrome.
- NPM Packages for CI - Example
- Command Line Tool - Example
You can also use the Structured Data Testing Tool to validate Schema.org markup.
##Some Useful Link
Build responsive, lightning-fast AMP pages with the help of pre define templates and components
A hands-on introduction to Accelerated Mobile Pages (AMP) focusing on code and live samples. Learn how to create AMP pages and see examples for all AMP components.
Useful AMP guides for WordPress developers, helping to make WordPress websites AMP friendly (without plugins).
AMPproject.org moves to amp.dev! Additionally AMP resources were scattered across multiple websites like ampbyexample.com and ampstart.com is also move on amp.dev