AMP HTML
AMP HTML is just a normal HTML file along with certain restrictions. Most of the tags used in normal HTML files will remain the same in AMP HTML.
Example: <div> </div> , <p> </p> etc.
But some HTML tags are converted to amp tags.
Example: <html amp> </html>, <amp-selector> </amp-selector>, <style amp-custom></style>, etc.
Accelerated Mobile Pages (AMP pages)
As we are seeing the demand for mobile phones is very large as compared to desktops or laptops. According to some sources, India has over 1.2 billion mobile phone users that’s why good organizations start focusing on mobile phones first.
So a question comes to mind how we can increase performance and user experience on mobiles? Let’s discuss about the Accelerated Mobile Pages (AMP) approach with some examples.
Table of Content
- What is Accelerated Mobile Pages?
- History of AMP pages
- How AMP is improving performance?
- How AMP Works?
- AMP HTML
- AMP JavaScript
- AMP Cache
- Difference
- Difference between the codes