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