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