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