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