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