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