CBSE Class 10 Computer Applications Question 9 of 56

Forms and Frames — Question 1

Back to all questions
1
Question

Question 1

Shagun wants to customize the width and height of the textarea in her form. How can she do it?

Answer

Shagun can use the Rows and Cols attribute of the <TEXTAREA> tag to customize the width and height of the textarea in her form. Rows attribute defines the height of the textarea, and Cols attribute defines the width of the text area. Example code for customizing the width and height of the textarea is:

<TEXTAREA ROWS = "6" COLS = "50" NAME = "REMARKS">
Enter your remarks here.
</TEXTAREA>