Jens Oliver Meiert

Use my latest work: latest tech booklatest non-tech booklatest toollatest major tool update

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 , . (Share this post, e.g. on Mastodon or on聽Bluesky.)

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:

  1. abbr鈥攁nd abbr attribute
  2. cite鈥攁nd cite attribute
  3. data鈥攁nd data attribute
  4. form鈥攁nd form attribute
  5. label鈥攁nd label attribute
  6. slot鈥攁nd slot attribute
  7. span鈥攁nd span attribute
  8. style鈥攁nd style attribute
  9. title鈥攁nd title attribute

(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

Jens Oliver Meiert, on March 2, 2026.

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 for companies you use every day (like Google) and companies you鈥檝e never heard of, I鈥檓 an occasional contributor to web standards (like HTML, CSS, WCAG), and I write and review books for O鈥橰eilly and Frontend Dogma.

I love trying things, not only in web development and engineering management, but also with respect to politics and philosophy. Here on meiert.com I talk about some of my experiences and perspectives. (Please share feedback: Interpret charitably, but do be critical.)