← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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