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