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