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