← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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