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