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