← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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