← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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