← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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