← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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