← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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