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