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