← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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