← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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