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