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