← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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