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