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