![Cover image for 7 Cool HTML Elements Nobody Uses](https://media.dev.to/cdn-cgi/image/width=1000,height=420,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsd0gz4l7dkah9yedw1cv.png)
Searching for cool HTML elements, especially if you don't know what you're looking for, is often like being thrown into a pile of garbage
Don't ...
For further actions, you may consider blocking this person and/or reporting abuse
When talking about "elements nobody uses":
In point 2 you could have used the
<dfn>
Definition element to show what term you are explaining (the Pythagorean Theorem) instead of using the<strong>
element.These are really useful! Thanks for sharing 🙌
I have just refactored an app component that used infinite amount of divs and spans for displaying interactive elements on a map like image.
Using map and areas was a piece of cake and it became instantly accessible just by using semantically correct elements 🤘
The end result: removal of 800 lines of code and avoided using 2 libraries (gzipped ~210kb) just to solve a problem that is already solved 😁
Thanks for sharing!
Useful 👍❤️
great article! you know what else i don’t see much in the wild? the dialog element!
That has a reason. MDN says that Safari adopted it in version 15.4 and Firefox in 98, while Chromium supports it since version 37. So support in all browsers started very recently. Due to the lack of support, it is not as popular. 😁
I knew about most, but at the same time forgot about most 😅
Great post !
Abbr
is really cool to using!Wow, I should definitely try it
Didn't know about
<details>
! Thanks for the post.It is worth paying attention to details to distinguish our website.
Saving!
Nice ;)
Thank you so much for doing the dirty work for us ❤
This really helpful
awesome
A great post and really useful. Thanks
Very nice! It was a great reminder.
Thanks for sharing, they are useful 💯
I Never did select again since datalist exist, one of thé best HTML components
That datalist element would be my saviour
Amazing thanks for sharing
Meter, Map & Area are extremely useful! ❤
Great piece!
Very helpful article. Thanks, Tapajyoti
Nice Article!
Very usful. Thanks for sharing!
There are a lot more tags in HTML that are rarely used. MDN lists a total of 114 current (not deprecated) tags. I'd say in general we probably only use a third of those at most.
To help, I made a tool to pick the most suitable HTML tag for any given purpose, all based off of a (quite complex) flowchart.
<map>
and<area>
are never used for a reason. They are horrible for accessibility, and I would think difficult to make responsive. I don't think I have used an image map this century.I'll be checking out
<object>
though.Another one that people forget about is definition lists.
<dl>
,<dt>
,<dd>
. If you've ever wished you could nest block elements in a bulleted list - like when your content creators looove multi-sentence bullets - definition lists are for you.Were you inspired by the trending post on r/programming a few days ago? reddit.com/r/programming/comments/...
Got some déjà vu reading this
Not really. It was inspired by this: dev.to/eludadev/those-html-element...
I did some research and found this article dev.to/eludadev/those-html-element... it helped me to build fontchangerguru.com/creepy-text-ge... Thanks for recommendation.
Why you publish the same thing here and on Medium?
To grab more eyeballs
This is spam
What's about the accessibility of those elements ? How do they work with keyboard and screenreaders ?
You can check this out 24 tags also
cmsinstallation.blogspot.com/2021/...
Why use images to demo html elements on a html-page?
They are used so little that not even him uses them