← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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