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