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