← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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