← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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