← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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