← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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