KnowledgeBoat Logo
|

Computer Applications

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

HTML Advanced Features

18 Likes

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>

Answered By

15 Likes


Related Questions