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