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