← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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