← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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