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