← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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