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