Chapter 9: Forms in HTML

Chapter 9: Forms in HTML

Chapter 9: Forms in HTML

Fill in the Blanks

  1. The <form> tag is used to create _______.
  2. Answer: forms

  3. Text input fields are created using the <input> tag with _______ attribute.
  4. Answer: type="text"

  5. A submit button is created using <input> with _______ attribute.
  6. Answer: type="submit"

  7. The action attribute defines the _______ where form data is sent.
  8. Answer: URL

  9. The <textarea> tag is used for _______ text input.
  10. Answer: multi-line

True or False

  1. The <input> tag can create both text fields and buttons.
  2. Answer: True

  3. The action attribute is optional in forms.
  4. Answer: True

  5. Forms cannot contain dropdown menus.
  6. Answer: False

  7. The <textarea> tag is used for single-line text input.
  8. Answer: False

  9. Buttons are created using the <button> tag.
  10. Answer: True

Answer in One Sentence

  1. What is the purpose of the <form> tag?
  2. Answer: The <form> tag is used to create forms in HTML.

  3. How do you create a text input field in a form?
  4. Answer: You use the <input> tag with type="text" to create a text input field.

  5. What is the function of the action attribute?
  6. Answer: The action attribute specifies the URL where form data is sent upon submission.

  7. Which tag is used for multi-line text input?
  8. Answer: The <textarea> tag is used for multi-line text input.

  9. How do you create a submit button in a form?
  10. Answer: You create a submit button using <input> with type="submit".

Match the Following

Element Function
<form> Creates a form
<input> Creates form elements
action Specifies form submission URL
<textarea> Multi-line text input
<button> Creates clickable buttons

Comments

Popular posts from this blog

Index Class V - Excel - ICT

Interactive Worksheet - Excel-V True or False- Quiz

Interactive Worksheet - Excel-V Fill-in-the-Blanks Quiz