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