← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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