← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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