← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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