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