← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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