← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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