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<textarea name="msg" rows="5"> Hello world. </textarea> | Acols sets the visible width in character widths — this textarea shows about 40 characters across | |
| 2<textarea name="bio" cols="40"> </textarea> | B<form> <textarea name="comment" rows="4"> </textarea> </form> | |
| 3<textarea> requires opening and closing tags — default content goes between them | CA multi-line text input — rows sets its height, and 'Hello world.' is pre-filled as the default text | |
| 4The name attribute on textarea identifies its value when the form is submitted | D<textarea name="notes"> Your notes here. </textarea> | |
| 5<TEXTAREA name="msg">Hello</TEXTAREA> | E<textarea> is not self-closing — it requires a separate closing </textarea> tag | |
| 6<textarea name="bio"/> | FTag names must be lowercase — <TEXTAREA> and </TEXTAREA> should be <textarea> and </textarea> |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
<textarea> — An HTML element that creates a multi-line text input. Unlike <input>, it requires opening and closing tags. Default content goes between them.<textarea name="msg">Hello</textarea><textarea name="bio">Bio text</textarea><textarea name="msg" rows="5">Text</textarea><textarea name="n" cols="40">Text</textarea><form>
<textarea name="bio" rows="4">
</textarea>
</form>