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="text" name="username"> | AThe name attribute is missing - without name the input value is not included in form submission | |
| 2<input type="text" name="q" placeholder="Search."> | Bplaceholder shows hint text inside the empty field - it disappears when the user starts typing | |
| 3The name attribute identifies the input's value when the form is submitted | C<input type="text" name="first"> | |
| 4<input> is self-closing - it has no content and must not have a closing </input> tag | DTag names must be lowercase - <INPUT> should be written as <input> | |
| 5<INPUT type="text" name="q"> | EA self-closing text input - type sets it as a text field and name identifies the value on submission | |
| 6<input type="text"> | F<input type="text" name="email"> |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
name — The <input> attribute that identifies the field's value when the form is submitted. Without name, the input value is not sent to the server.<input type="text" name="username"><input type="text" name="city"><input type="text" name="email"><input type="text" name="q" placeholder="Search"><input type="text" name="first">