← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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