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