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