← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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