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