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