← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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