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