HTML Worksheet: Forms and Inputs
Code tip (Pick the right box): <form> holds <input> tags; type= picks the kind: text, password, email, number, date … Radio buttons with the same name allow only ONE choice; checkboxes allow many. type="submit" makes the send button; <label> names a box.
NameDateTime takenScore ___ / 40
- 1.What is <input type="radio"> for? (a) picks a day (b) lets you pick only one (c) is for one line of words (d) hides what you type
- 2.True or false: <input type="email"> lets you pick only one. (a) True (b) False
- 3.📝 Which input type is for one line of words? (a) text (b) password (c) email (d) checkbox
- 4.True or false: <input type="text"> is for one line of words. (a) False (b) True
-
5.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="checkbox" name="colour"> Pink
<input type="checkbox" name="colour"> Red
<input type="checkbox" name="colour"> Blue
<input type="checkbox" name="colour"> Orange
</form> - 6.📝 Which tag makes a drop-down list? (a) <ul> (b) <select> (c) <ol> (d) <li>
- 7.What is <input type="date"> for? (a) lets you pick only one (b) picks a day (c) sends the form (d) is for one line of words
- 8.What is <input type="submit"> for? (a) sends the form (b) lets you tick many (c) picks a day (d) hides what you type
- 9.📝 Which input type lets you tick many? (a) checkbox (b) text (c) password (d) date
- 10.📝 Which input type takes only numbers? (a) submit (b) checkbox (c) number (d) password
- 11.📝 Which tag holds a whole form? (a) <form> (b) <ol> (c) <input> (d) <table>
-
12.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="checkbox" name="colour"> Green
<input type="checkbox" name="colour"> Pink
<input type="checkbox" name="colour"> Red
</form> -
13.📝 How many <input> tags are in this form?
<form>
<input type="text">
<input type="checkbox">
<input type="date">
<input type="submit" value="Send">
</form> -
14.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="checkbox" name="fruit"> Litchi
<input type="checkbox" name="fruit"> Mango
<input type="checkbox" name="fruit"> Banana
</form> - 15.📝 Which input type is for an email address? (a) password (b) text (c) email (d) radio
- 16.True or false: <input type="email"> is for an email address. (a) True (b) False
- 17.📝 What does a password box show instead of letters? (a) emojis (b) capital letters (c) dots (d) numbers
- 18.📝 Which tag makes a big box for many lines of text? (a) <input> (b) <p> (c) <br> (d) <textarea>
- 19.True or false: <input type="password"> hides what you type. (a) True (b) False
- 20.📝 Which input type hides what you type? (a) password (b) text (c) submit (d) number
- 21.What is <input type="checkbox"> for? (a) sends the form (b) picks a day (c) is for one line of words (d) lets you tick many
- 22.📝 Which tag gives a form box a name you can click? (a) <hr> (b) <label> (c) <title> (d) <h1>
- 23.What is <input type="password"> for? (a) sends the form (b) picks a day (c) hides what you type (d) is for an email address
-
24.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="radio" name="colour"> Green
<input type="radio" name="colour"> Red
<input type="radio" name="colour"> Pink
<input type="radio" name="colour"> Blue
<input type="radio" name="colour"> Orange
</form> - 25.True or false: <input type="submit"> picks a day. (a) True (b) False
-
26.📝 How many <input> tags are in this form?
<form>
<input type="date">
<input type="email">
<input type="password">
<input type="text">
<input type="checkbox">
<input type="submit" value="Send">
</form> - 27.True or false: <input type="password"> lets you tick many. (a) False (b) True
-
28.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="checkbox" name="fruit"> Litchi
<input type="checkbox" name="fruit"> Banana
<input type="checkbox" name="fruit"> Mango
<input type="checkbox" name="fruit"> Papaya
<input type="checkbox" name="fruit"> Guava
</form> - 29.True or false: <input type="email"> picks a day. (a) True (b) False
-
30.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="radio" name="fruit"> Papaya
<input type="radio" name="fruit"> Banana
<input type="radio" name="fruit"> Guava
</form> - 31.True or false: <input type="radio"> lets you tick many. (a) True (b) False
-
32.📝 How many <input> tags are in this form?
<form>
<input type="date">
<input type="email">
<input type="submit" value="Send">
</form> - 33.True or false: <input type="checkbox"> lets you tick many. (a) False (b) True
- 34.True or false: <input type="submit"> sends the form. (a) True (b) False
-
35.📝 How many <input> tags are in this form?
<form>
<input type="date">
<input type="password">
<input type="email">
<input type="number">
<input type="submit" value="Send">
</form> -
36.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="radio" name="fruit"> Guava
<input type="radio" name="fruit"> Litchi
<input type="radio" name="fruit"> Papaya
</form> -
37.📝 How many <input> tags are in this form?
<form>
<input type="checkbox">
<input type="text">
<input type="email">
<input type="date">
<input type="number">
<input type="submit" value="Send">
</form> - 38.True or false: <input type="date"> picks a day. (a) False (b) True
- 39.What is <input type="text"> for? (a) hides what you type (b) lets you tick many (c) is for an email address (d) is for one line of words
-
40.📝 How many <input> tags are in this form?
<form>
<input type="password">
<input type="checkbox">
<input type="text">
<input type="date">
<input type="submit" value="Send">
</form>
Answer key
- lets you pick only one
- False
- text
- True
- 4
- <select>
- picks a day
- sends the form
- checkbox
- number
- <form>
- 3
- 4
- 3
- True
- dots
- <textarea>
- True
- password
- lets you tick many
- <label>
- hides what you type
- 1
- False
- 6
- False
- 5
- False
- 1
- False
- 3
- True
- True
- 5
- 1
- 6
- True
- is for one line of words
- 5
Free html and css lessons, practice and worksheets at talentjr.in/html-css-for-kids