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