← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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