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