← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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