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