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