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