← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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