← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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