← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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