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