← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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