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