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