← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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