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