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