← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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