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