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