Skip to main content

2 docs tagged with "summary"

View all tags

Details and Summary in Practice

Go beyond the basics of details and summary: forms inside collapsed sections, deep links into nested details, structuring summaries, optional open and close animation, loading heavy content late, tracking toggles responsibly, and when another pattern fits better. Includes a form-in-details lab, a deep-link lab, and a true-or-false quiz.

HTML Summary Element

Learn the HTML summary element: the visible label and toggle control of a details widget, writing clear summary text, what content is allowed inside it, styling or replacing the marker, keyboard and screen reader behaviour, why headings and links inside a summary cause trouble, stable labels, and common mistakes, with live examples.