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