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