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