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