adam bien's blog

Hiding and disclosing optional content with the "details" and "summary" HTML elements / tags 📎

With the "details" and "summary" HTML elements / tags optional content can be rendered in a space-saving manner without any JavaScript or CSS.

The details element is used at the top (episode numbers) of the airhacks podcast website: airhacks.fm to disclosure the episodes index: