← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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