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