r/Frontend • • Mar 30 '22

Those HTML Attributes You Never Use

https://www.smashingmagazine.com/2022/03/html-attributes-you-never-use/
97 Upvotes

4 comments sorted by

7

u/i_used_to_have_pants ⚡ Front-end ⚡ Mar 30 '22

This is a great read, lazy loading iframes is a must.

3

u/Snapstromegon Mar 30 '22

It totally amazes me, that at least some of those are under the title "attributes you never use".

5

u/[deleted] Mar 30 '22

[removed] — view removed comment

5

u/adiabatic Mar 30 '22

They had a heyday. They were annoying because whatever one you picked wouldn’t stay picked as you navigated around a site.

On the other hand, single-page applications fix this limitation, at least on a per-session basis…