← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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