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