← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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