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