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