← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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