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