← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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