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