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