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