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