← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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