← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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