← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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