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