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