← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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