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