← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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