Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1<input type="password" name="pass"> | ACreates a tick-box that can be checked or unchecked - submitted as 'on' when checked | |
| 2<input type="checkbox" name="agree"> | BCreates a password field - characters are masked as the user types for security | |
| 3The type attribute controls what kind of data field <input> creates | C'telephone' is not a valid type - use type="tel" for phone number fields | |
| 4type="number" restricts the field to numeric values and shows a stepper control | DInput type values must be lowercase - 'Email' should be 'email': type="email" | |
| 5<input type="telephone" name="t"> | E<input type="number" name="age"> | |
| 6<input type="Email" name="e"> | F<input type="email" name="e"> |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
type — The <input> attribute that specifies what kind of data field is created. Different values produce text boxes, password fields, number steppers, checkboxes, and more.<input type="email" name="e"><input type="password" name="pass"><input type="number" name="age"><input type="checkbox" name="agree"><input type="tel" name="phone">