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