← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

HTML and CSS lesson 21: Forms and inputs · Set 834 · 40 questions
TalentJR

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

Answer key

  1. password
  2. email
  3. text
  4. True
  5. takes only numbers
  6. <label>
  7. False
  8. 5
  9. 1
  10. <form>
  11. is for an email address
  12. number
  13. submit
  14. 1
  15. dots
  16. True
  17. 5
  18. 3
  19. False
  20. True
  21. True
  22. is for one line of words
  23. 4
  24. radio
  25. 1
  26. False
  27. 6
  28. False
  29. hides what you type
  30. 4
  31. False
  32. False
  33. True
  34. 1
  35. 3
  36. <textarea>
  37. <select>
  38. checkbox
  39. False
  40. False

Free html and css lessons, practice and worksheets at talentjr.in/html-css-for-kids