← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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