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