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