← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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