← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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