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