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