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