← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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