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