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