← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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