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