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