Q1. What is the <textarea> tag used for?
The <textarea> tag creates a multi-line text input field, ideal for comments, messages, or longer text.
Q2. What attributes control the size of a textarea?
rows specifies visible height in lines, cols specifies visible width in average character widths.
Q3. How do you set default text in a textarea?
Place text between opening and closing tags: <textarea>Default text here</textarea>.
Q4. How can you prevent users from resizing a textarea?
Use CSS: resize: none; disables the resize handle.
Q5. Can you limit characters in a textarea?
Yes, use the maxlength attribute to limit the number of characters entered.
