← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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