← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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