← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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