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