Re:I'm Betting on HTML
by marcus_holmes on Wednesday August 02, 2023 @01:43AM
(#36967347)
I use <details> a lot for debugging Go html templates.
It's nicely unobtrusive when collapsed, doesn't mess up the page completely. Then expands to the full glory when needed.
[ Parent
| on HN ]
You can use it for all sorts of things on web pages, including collapsible menues and such.
Github markdown lets you use it too. People use it for examples and inline explanations.
Re:I'm Betting on HTML
by birracerveza on Wednesday August 02, 2023 @05:52AM
(#36968865)
I abuse the <details> element when I can. It's so neat, I don't know why it's not used more often.