← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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