← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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