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