← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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