Skip to content

Topics

Jump to a topic.

Search questions

Find a question by title, tag, or summary.

Chapter 02

Forms, dialog, and popover

The interactive parts of HTML that work without JavaScript: form submission and validation, button behaviour, and the <dialog>, popover, and <details> primitives.
  1. 010What happens when a form is submitted — what is sent, and how?Coremedium
  2. 020How do input types, inputmode, and autocomplete shape what the user gets?easy
  3. 030Why does a <button> inside a form submit it, and how do you control which form and action it uses?easy
  4. 040How does native constraint validation work, and how do you customise it?Coremedium
  5. 050How does <dialog> work — show() vs showModal(), closing, and the return value?Coremedium
  6. 060What does the popover attribute give you, and how is it different from <dialog>?medium
  7. 070How do <details> and <summary> work, including exclusive accordions?easy