← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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