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