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