← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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