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