← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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