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