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