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