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