← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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