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