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