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