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