← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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