Web Technology Basics Practice Test: Handling Forms — Flashcards | Web Development | FatSkills

Web Technology Basics Practice Test: Handling Forms — Flashcards

Fast review mode: answers are shown by default so you can skim quickly. Hide them if you want to self-test.

Quiz on creating forms with form elements, form controls, form accessibility and structure.

When a user submits an HTML form, the data is sent to a form handler, which is usually a file on the server that processes the input data. The form handler can define where the data goes using an action attribute. The action attribute can be relative or full. Relative URLs compare to the current URL loaded in the browser, while full URLs submit the form data to a different website. The form can also use an HTTP method attribute, such as GET or POST. 

Here are some HTML form controls:
Text input controls:
Defines a single-line text input
Password field: Takes the password as input
Radio button control: Allows users to select one option from a list of predefined options
Checkbox control: Allows users to select one or more options from a list of predefined options
Text area: Allows the user to provide a description or text in multiple lines 

Here are some HTML form tags:
<form>:
Defines an HTML form to take input from the user
<input>: Defines an input control
<textarea>: Defines a multi-line input control
<label>: Defines a label for an input element 

Here are some best practices for securing HTML forms:
Use HTTPS protocol
Validate input and output
Use tokens and captchas
Limit form access and duration
Encrypt and hash sensitive data
Test and update your forms 

1 of 40 Ready
What are Forms in web programming?
They allow you to enter data which can be processed to servers
Shortcuts
Prev Space Show / hide Next
Turn this into a study set.
Sign in with Google to save tricky questions to your reminder list and resume on any device.
Sign in with Google Free • no extra password