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