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