← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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