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