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