← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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