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