← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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