← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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