← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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