← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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