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