← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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