← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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