← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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