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