← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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