← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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