← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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