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