← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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