← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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