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