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