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