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