← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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