← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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