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