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