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