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