← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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