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