← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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