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