← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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