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