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 November 20, 2023, filed under Development (RSS feed for all categories).
There are nine HTML elements that have an attribute of the same name:
abbr
—andabbr
attributecite
—andcite
attributedata
—anddata
attributeform
—andform
attributelabel
—andlabel
attributeslot
—andslot
attributespan
—andspan
attributestyle
—andstyle
attributetitle
—andtitle
attribute
(Nine! Before I dug into this, I would have bet there were fewer such pairings.)
That’s it—though if you’re 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—a series I’m turning into an HTML course. If you’re interested, follow along or get notified!
About Me
I’m Jens (long: Jens Oliver Meiert), and I’m a frontend engineering leader and tech author/publisher. I’ve worked as a technical lead for companies like Google and as an engineering manager for companies like Miro, I’m somewhat close to W3C and WHATWG, and I write and review books for O’Reilly and Frontend Dogma.
I love trying things, not only in web development (and engineering management), but also in other areas like philosophy. Here on meiert.com I share some of my views and experiences.
If you’d like to do me a favor, interpret charitably (I speak three languages, and they do collide), yet be critical and give feedback, so that I can make improvements. Thank you!
Read More
Maybe of interest to you, too:
- Next: Why Online Communication Is So Not-Great
- Previous: Letter and Spirit of Web Development
- More under Development
- More from 2023
- Most popular posts
Looking for a way to comment? Comments have been disabled, unfortunately.
Get a good look at web development? Try WebGlossary.info—and The Web Development Glossary 3K (2023). With explanations and definitions for thousands of terms of web development, web design, and related fields, building on Wikipedia as well as MDN Web Docs. Available at Apple Books, Kobo, Google Play Books, and Leanpub.