Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

AMP doesn't "break" the img tag. It's more optimal to use the amp-img tag for AMP pages, but if you use img instead it's not going to break your page.

>And why, why would they break the img tag‽

https://www.ampproject.org/docs/guides/amp_replacements



As far as I can tell the amp-img tag doesn't add anything that img doesn't already support. The page simply mentions some vague statement about needing to understand the page layout, but uses the same attributes as img.


Did you click the support first-viewport preloading link?


embrace, extend and extinguish




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: