← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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