← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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