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