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