← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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