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