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