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