← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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