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