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