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