← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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