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