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