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