To add your badge code to a valid accelerated mobile page (AMP), only a few changes are necessary: 1) Remove the "script" portion of the badge embed, as this will invalidate the AMP page. 2) Change the "img" tag to "amp-img", as per AMP spec. 3) You must specify "height" and "width" attributes in your image tag. These will depend on the proportions/size of your selected badge image. To test whether your changes result in valid AMP html, you can use this validator tool:
Modified: 11/12/2019
Category: Frequently Asked Question
By: Mr. DMCA Helper
FAQ ID:8024f04e-c62e-45b5-b380-478f846ee34d
AMP Version of this content is available.AMP URL: