← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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