← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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