← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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