← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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