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