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