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