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