Cool native HTML elements you should already be using
March 14, 2025
I’m constantly surprised by the native HTML spec. New features are regularly added, and I often stumble on existing, handy elements. While often not as versatile as their JS counterparts, using them avoids bloating your app with extra Javascript libraries or CSS hacks.
…
Native HTML can handle plenty of features that people typically jump straight to JS for (or otherwise over-complicate).I cover some great HTML elements in this article — modals, accordions, live range previews, progress bars and more. You might already know some of these, but I bet there’s something new here for you too.
Source: Cool native HTML elements you should already be using · Harrison Broadbent
HTML gives us an increasing number of native elements (most recently dialog) so we don’t have to rely on 3rd party components or roll our own.
Not only does this reduce effort on our part, it’s most certain their accessibility will be better than anything you can do yourself.
Here’s a roundup of some you will know about and others you may not.