← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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