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