← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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