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