What is the purpose of an HTML <form>?
A <form> groups related controls for collecting and submitting information.
Study 7 Forms and User Input with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.
What is the purpose of an HTML <form>?
A <form> groups related controls for collecting and submitting information.
How do you explicitly associate a label with a form control?
Give each control a visible label and connect them with matching for and id values.
How should related radio buttons be grouped accessibly?
Use <fieldset> to group related controls and <legend> to describe the group.
What does a control's name attribute do?
The name attribute identifies a control's value in submitted form data; controls without a name are generally omitted.
How can input type and autocomplete improve a form?
An appropriate type, such as email, and useful autocomplete values help browsers and users enter data.
What does a form's action attribute specify?
The action attribute specifies where the browser sends the form.
How does GET send form values, and what is it suitable for?
GET places form values in the URL and suits requests such as searches.
How does POST send form values, and when is it commonly used?
POST sends form values in the request body and is commonly used when submitting or changing data.
How should native validation requirements be communicated?
Use visible instructions alongside native constraints such as required, email, minlength, maxlength, min, and max.
Why are client-side checks not a security boundary?
Client-side checks improve usability but are not a security boundary; users can alter page code or bypass the page.
What validation must happen on the server?
Validate submitted data on the server too, and handle invalid or unexpected values safely.
Why handle a form's submit event instead of only a button click?
Listen for the form's submit event so keyboard-based submission is handled, not just button clicks.
A 14-question medium-difficulty quiz on Boolean algebra, logic gates, truth tables, and combinational circuits.
A focused set of flashcards covering Python variables, data types, expressions, control flow, functions, input, output, and common programming practices.
A structured guide to the main data structures, their operations, efficiency trade-offs, representations, and practical selection criteria.
Learn how computer memory stores and addresses information, how RAM and ROM differ, and how caches and the memory hierarchy balance speed, capacity, and cost.
A progressive guide to tree structure, binary-tree traversals, binary search tree operations, deletion, balancing, and the way tree height determines time and space costs.
A focused review of propositional logic, quantifiers, sets, relations, functions, and foundational proof methods in discrete mathematics for computer science.
Reviews how interrupts support event handling and multitasking, and how Linux system calls use the RISC-V `ecall` instruction and register conventions.
This quiz covers process management, context switching and scheduling, multitasking, traps and interrupts, and RISC-V privilege transitions.
A quiz on operating-system system calls, including privileged-operation requests, process creation and execution with fork, exec, and waitpid, and signal handling.