HTML Forms (Part 2) - Revision Sheet
<form> tag encloses user input elements; controls data submission.action attribute specifies server script URL; method defines data transmission (POST or GET).%xx; spaces as + or %20.<input type="submit"> triggers form submission; <input type="reset"> clears inputs.YYYY-MM-DD, YYYY-MM-DDTHH:MM:SS, etc.<textarea> supports multi-line input; size via rows, cols; maxlength limits characters.<select> creates dropdowns with <option>; supports multiple and size.required, autofocus, formnovalidate, autocomplete, datalist.name for single selection.1. What is the primary purpose of the `<form>` tag in HTML?
2. What is the correct format for a date input (`<input type='date'>`) in HTML5?
3. Which attribute of the `<input>` element specifies the URL of the server-side script that processes the form data?
HTML form — purpose?
Collects and sends user data to server
`method` attribute — options?
POST or GET
Date input — format?
YYYY-MM-DD (RFC3339)
`<form>` — role?
Container for inputs, handles submission
`action` attribute — purpose?
Specifies server script URL
`method` — options?
POST or GET
It covers the core concepts of Mastering HTML Forms and Input Elements, organized by topic with the key definitions, explanations and takeaways, so it's easier to learn and remember.
Read the full study guide →The practice quiz has 10 multiple-choice questions, each with an explanation. Use it to check what you know and find your gaps.
Take the quiz (10 questions) →There are 10 flashcards on Mastering HTML Forms and Input Elements, with a question on the front and the answer on the back. Try to recall each answer before you flip, and let spaced repetition bring back the ones you miss.
See all 10 flashcards →Upload a PDF or paste your notes. Revizly writes a study guide, a practice quiz and flashcards in about a minute.