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