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