← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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