← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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