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