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