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