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