HTML form — purpose?
Collects and sends user data to server
`<form>` — role?
Container for inputs, handles submission
`method` attribute — options?
POST or GET
`action` attribute — purpose?
Specifies server script URL
Date input — format?
YYYY-MM-DD (RFC3339)
`method` — options?
POST or GET
Date/time input format — RFC?
YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS
`<textarea>` — feature?
Multi-line text input
`<select>` — purpose?
Creates dropdown menu
Radio buttons — group how?
Same `name` for single choice
Test your knowledge with 10 questions on Mastering HTML Forms and Input Elements.
1. What is the primary purpose of the `<form>` tag in HTML?
2. What is the primary purpose of the `<form>` tag in HTML?
Review the complete course in the revision sheet for Mastering HTML Forms and Input Elements.
See revision sheet →Import your course and AI generates flashcards in 30 seconds.
Flashcard generator