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