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