← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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