← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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