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