Reputation: 1409
Can i use the xhtml <amp-img />
instead of <amp-img></amp-img>
.
I see it works but is it supported?
Upvotes: 1
Views: 287
Reputation: 850
You cannot use the XHTML-form. That has nothing to do with AMP. XHTML self-closing tags are not supported in AMP.
Upvotes: 2
Reputation: 2249
Yes its supported. To confirm it yourself, you can add #development at the end of the url and check browser console. it will display any amp validation error.
Upvotes: 1