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