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