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