← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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