← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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