← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

  1. date
  2. 1
  3. <textarea>
  4. False
  5. checkbox
  6. 1
  7. radio
  8. False
  9. takes only numbers
  10. <form>
  11. <select>
  12. is for an email address
  13. False
  14. email
  15. False
  16. dots
  17. text
  18. <label>
  19. True
  20. False
  21. submit
  22. 1
  23. 4
  24. 3
  25. 4
  26. 3
  27. False
  28. sends the form
  29. 5
  30. True
  31. False
  32. True
  33. 1
  34. False
  35. password
  36. 5
  37. False
  38. 4
  39. 5
  40. False

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