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