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