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 does a password box show instead of letters? (a) capital letters (b) dots (c) numbers (d) emojis
- 2.📝 Which input type picks a day? (a) submit (b) date (c) checkbox (d) text
- 3.📝 Which input type is for an email address? (a) email (b) radio (c) checkbox (d) text
- 4.What is <input type="radio"> for? (a) hides what you type (b) lets you pick only one (c) is for an email address (d) is for one line of words
- 5.📝 Which input type hides what you type? (a) text (b) password (c) email (d) submit
- 6.📝 Which tag gives a form box a name you can click? (a) <title> (b) <h1> (c) <hr> (d) <label>
-
7.📝 How many <input> tags are in this form?
<form>
<input type="number">
<input type="date">
<input type="submit" value="Send">
</form> - 8.What is <input type="checkbox"> for? (a) is for an email address (b) sends the form (c) takes only numbers (d) lets you tick many
- 9.True or false: <input type="text"> is for one line of words. (a) True (b) False
- 10.What is <input type="date"> for? (a) hides what you type (b) picks a day (c) lets you tick many (d) sends the form
- 11.True or false: <input type="number"> takes only numbers. (a) True (b) False
- 12.True or false: <input type="checkbox"> lets you tick many. (a) False (b) True
-
13.📝 How many <input> tags are in this form?
<form>
<input type="email">
<input type="checkbox">
<input type="password">
<input type="text">
<input type="date">
<input type="submit" value="Send">
</form> - 14.📝 Which input type lets you pick only one? (a) radio (b) submit (c) checkbox (d) number
-
15.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="checkbox" name="fruit"> Guava
<input type="checkbox" name="fruit"> Papaya
<input type="checkbox" name="fruit"> Banana
</form> -
16.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="radio" name="fruit"> Mango
<input type="radio" name="fruit"> Banana
<input type="radio" name="fruit"> Litchi
</form> - 17.📝 Which input type lets you tick many? (a) number (b) checkbox (c) radio (d) password
-
18.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="radio" name="sport"> Chess
<input type="radio" name="sport"> Football
<input type="radio" name="sport"> Hockey
</form> - 19.True or false: <input type="date"> lets you pick only one. (a) False (b) True
- 20.📝 Which tag makes a big box for many lines of text? (a) <p> (b) <textarea> (c) <input> (d) <br>
-
21.📝 How many <input> tags are in this form?
<form>
<input type="text">
<input type="checkbox">
<input type="email">
<input type="submit" value="Send">
</form> -
22.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="radio" name="fruit"> Mango
<input type="radio" name="fruit"> Litchi
<input type="radio" name="fruit"> Guava
<input type="radio" name="fruit"> Papaya
</form> - 23.True or false: <input type="date"> picks a day. (a) False (b) True
-
24.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="radio" name="sport"> Football
<input type="radio" name="sport"> Chess
<input type="radio" name="sport"> Cricket
<input type="radio" name="sport"> Hockey
<input type="radio" name="sport"> Kabaddi
</form> -
25.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="radio" name="sport"> Cricket
<input type="radio" name="sport"> Chess
<input type="radio" name="sport"> Hockey
<input type="radio" name="sport"> Kabaddi
</form> - 26.📝 Which input type sends the form? (a) email (b) password (c) text (d) submit
- 27.True or false: <input type="submit"> sends the form. (a) False (b) True
- 28.True or false: <input type="submit"> lets you pick only one. (a) False (b) True
- 29.True or false: <input type="radio"> lets you pick only one. (a) True (b) False
- 30.True or false: <input type="submit"> hides what you type. (a) True (b) False
- 31.What is <input type="email"> for? (a) lets you pick only one (b) picks a day (c) is for an email address (d) takes only numbers
- 32.True or false: <input type="number"> picks a day. (a) True (b) False
- 33.True or false: <input type="email"> is for an email address. (a) True (b) False
-
34.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="radio" name="sport"> Football
<input type="radio" name="sport"> Kabaddi
<input type="radio" name="sport"> Cricket
</form> -
35.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="checkbox" name="fruit"> Mango
<input type="checkbox" name="fruit"> Litchi
<input type="checkbox" name="fruit"> Guava
<input type="checkbox" name="fruit"> Banana
</form> - 36.📝 Which input type is for one line of words? (a) password (b) number (c) email (d) text
-
37.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="radio" name="colour"> Blue
<input type="radio" name="colour"> Orange
<input type="radio" name="colour"> Pink
<input type="radio" name="colour"> Green
</form> - 38.What is <input type="submit"> for? (a) sends the form (b) hides what you type (c) picks a day (d) is for one line of words
- 39.True or false: <input type="number"> hides what you type. (a) True (b) False
-
40.📝 How many <input> tags are in this form?
<form>
<input type="checkbox">
<input type="text">
<input type="number">
<input type="date">
<input type="email">
<input type="submit" value="Send">
</form>
Answer key
- dots
- date
- lets you pick only one
- password
- <label>
- 3
- lets you tick many
- True
- picks a day
- True
- True
- 6
- radio
- 3
- 1
- checkbox
- 1
- False
- <textarea>
- 4
- 1
- True
- 1
- 1
- submit
- True
- False
- True
- False
- is for an email address
- False
- True
- 1
- 4
- text
- 1
- sends the form
- False
- 6
Free html and css lessons, practice and worksheets at talentjr.in/html-css-for-kids