← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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