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