← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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