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