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