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