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