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