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