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