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