Hacker News new | ask | show | jobs
by hbroadbent 469 days ago
Stoked to see a few hundred people have already read this article (and one person's already suggested an improvement!).

What other elements should I add?

2 comments

You tell me. I actually didn’t know the modal element existed. Quite handy!
Hah fair enough! I've actually just stumbled on the Popover hint demo (https://mdn.github.io/dom-examples/popover-api/popover-hint/) which uses the Popover API to create native HTML tooltips. I'm planning to update my article with them once I've played around a bit more
> What other elements should I add?

Not really an element, but `popover` attributes for elements, maybe?

Recently I've been using fieldset+legend to great effect for titled input forms. In fact I've used it almost exclusively in my last contract.

Some other ones that too few people use: progress, cite, sub/sup, datalist (very useful), and search (also very useful as a busy indicator when used with no percentage).