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