← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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