← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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