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