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