
TIL about the HTML <details> element. How the heck did I not know about this?
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/details
TIL about the HTML <details> element. How the heck did I not know about this?
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/details
… and I went ahead and implemented <details> for the Need Help? bit on the Newton Glossary search page.
@splorp yesssssssssss.
@splorp Huh; didn’t know this tag, either. I’ve only been writing HTML since 1994, though (I’m still a beginner).
@tantramar Learn something new every day.
@splorp Huh! That could then probably replace my JS-driven method of hiding the details on https://findanyfile.app/support.html
Will the details be findable when using Find in the browser, though? That's the one problem with my current JS-based solution
@splorp Answer: Nope, Find doesn't see the hidden text when it's collapsed :(
@tempelorg That’s odd, because the hidden text still exists in the underlying HTML source. Must be getting removed from the DOM during presentation.