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