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