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