← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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