The 9 HTML Elements That Have an Attribute of the Same Name, or: The 9 Attributes That Have an Element of the Same Name
Published on Nov聽20, 2023, filed under development, html. (Share this post, e.g., on Mastodon.)
This is one of 180 articles that you can also read in an ebook: On Web Development聽II.
There are nine HTML elements that have an attribute of the same name:
abbr鈥攁ndabbrattributecite鈥攁ndciteattributedata鈥攁nddataattributeform鈥攁ndformattributelabel鈥攁ndlabelattributeslot鈥攁ndslotattributespan鈥攁ndspanattributestyle鈥攁ndstyleattributetitle鈥攁ndtitleattribute
(Nine! Before I dug into this, I would have bet there were fewer such pairings.)
That鈥檚 it鈥攖hough if you鈥檙e into HTML factoids like this one, well, that makes us two! I ask about and share things like this in my little HTML quiz series on Mastodon鈥攁 series I鈥檓 turning into an HTML course. If you鈥檙e interested, follow along or get notified!
About Me
I鈥檓 Jens (long: Jens Oliver Meiert), and I鈥檓 an engineering lead, guerrilla philosopher, and indie publisher. I鈥檝e worked as a technical lead and engineering manager at various companies (e.g., Google); I鈥檓 an active web and tool developer (code optimization, digital defense), a contributor to web standards (like HTML, CSS, WCAG), and a book author (O鈥橰eilly, Frontend Dogma).
I love trying things鈥攊n web development and engineering management, but also in politics and philosophy, where I hold to one idea in particular: that we can only be well if we take good care of everyone. Here on meiert.com I talk about some of my perspectives and experiences. (Please share feedback: Interpret charitably, keep it friendly, but do be critical.)
