Questions tagged [amp-html]
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.
amp-html
2,310
questions
0
votes
0
answers
5
views
aria-* attributes do not match their roles for AMP design Tab Panels with amp-selector
I am using AMP web component framework.
PageSpeed Insights showing errors for Tab Panels with amp-selector.
errors as follows:
[aria-*] attributes do not match their roles
Elements with an ARIA [...
0
votes
0
answers
39
views
Why are my CSS animations not working on an AMP webstory page after a third-party script update?
I have an AMP page (webstory) that i developed with some css animations. I have noticed that what worked before (it was everything ok) now does not!
As long as we use third-part scripts i think ...
1
vote
0
answers
44
views
AMP buttons by location
I'm working on a project (AMP website) where I have buttons that should only show up at certain locations and be hidden at other locations. However, I'm struggling to make each of the selected ...
0
votes
0
answers
56
views
The amp-video component fallback isn't executed
Amp-video fallback isn't working for me. In this code:
<!doctype html>
<html ⚡>
<head>
<meta charset="utf-8">
<title>Placeholders & fallbacks - ...
0
votes
0
answers
38
views
AMP template can not be shown in Gmail web based
AMP template shows errors of displaying the dynamic content with the error code of INVALID_AMP. enter image description here
I tried some validation tools (AMP playground, AMP web based validator) - ...
0
votes
0
answers
25
views
Orphan pages amp version
I am performing a redirection of my normal version php pages to amp version when accessed by mobile devices, now the problem is that when performing an analysis with the SEO tool ahrefs it shows me ...
0
votes
0
answers
35
views
The mandatory attribute 'async' is missing in tag 'amphtml engine script'
I am getting this error with amp validator
anybody please help me fix this problems. now i cant not input pixel code to the coding.
and when i test my page in URL Inspection I got:
Linked AMP version ...
0
votes
0
answers
45
views
How can I show amp-list horizontally? When i style the container as display: flex i can't see the list at all
<!doctype html>
<html ⚡4email data-css-strict>
<head>
<meta charset="utf-8">
<script async src="https://cdn.ampproject.org/v0.js"></script&...
0
votes
0
answers
40
views
Track Google Analytics for AMP pages when user clicks on anchor text
<div class="base2"><a href="tel:+917411951943" id="Call">CALL NOW</a></div><span>|</span>
For the above code in my AMP page I want to ...
0
votes
1
answer
121
views
how can i set state of amp-list and submit the form with that state
<!doctype html>
<html ⚡4email data-css-strict>
<head>
<meta charset="utf-8">
<script async src="https://cdn.ampproject.org/v0.js"></script&...
0
votes
1
answer
32
views
AMP-Youtube not rendering sometimes until page is force-reload
I'm using AMP-Youtube to integrate videos on my website, and it works like a charm most of the time.
For some reason, sometimes the videos don't show up at all; when it happens, no video on the page ...
0
votes
0
answers
49
views
Is there a working example of the AMP.DEV amp-link-rewriter?
See https://github.com/ampproject/amphtml/blob/main/extensions/amp-link-rewriter/amp-link-rewriter.md for the documentation.
I added
<amp-link-rewriter layout="nodisplay">
<script ...
0
votes
0
answers
67
views
Why AMP show me error in search console to google
thanks for you time..
Im here cause I need your help.
Im using AMP plugin and always Im seeing same error at search console
Only “style” tags with “amp-boilerplate” and “amp-custom” are allowed, and ...
0
votes
0
answers
61
views
AMP Connection with inactive site
sorry for my bad english.
i want to ask something, so AMPHTML allow that amp page direct to other domain right? how can i disconnect that AMP from the main domain that already inactive?
**Note: im not ...
0
votes
0
answers
88
views
Wordpress Amp Domain
I use amp for wp and amp for wp subdomain plugin. And so far everything is smooth. My links are directed to cdn ampproject through a subdomain. But what I want to do is to publish my amp page through ...