← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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