← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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