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