← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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