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