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