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