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