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