← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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