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