← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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