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