← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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