← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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