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