← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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