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