← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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