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