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