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