← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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