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