AMP tutorial

List of important custom and in-built AMP tags

amp-img amp-img is use as replacment of HTML img tag. amp-img tag effectively manage image resource at runtime. It uses lazy load to reduce page load time. To use amp-img need to specify width and height, src attriburtes. It also support three optional attributes srcset, alt, attribution. src – audio file url. autoplay – It […]

List of important custom and in-built AMP tags Read More »

AMP (Accelerated Mobile Pages) Example Pages

AMP (Accelerated Mobile Pages) is a Google open source project to speed up page load in mobile devices. AMP consist of three main parts <!doctype html> <html amp lang=\”en\”> <head> <meta charset=\”utf-8\”> <script async src=\”https://cdn.ampproject.org/v0.js\”></script> <title>Hello, AMPs</title> <link rel=\”canonical\” href=\”http://example.ampproject.org/article-metadata.html\” /> <meta name=\”viewport\” content=\”width=device-width,minimum-scale=1,initial-scale=1\”> <script type=\”application/ld+json\”> { \”@context\”: \”http://schema.org\”, \”@type\”: \”NewsArticle\”, \”headline\”: \”Open-source framework for

AMP (Accelerated Mobile Pages) Example Pages Read More »