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
Define the following attributes associated with the
<INPUT>tag:i. Type
ii. Value
iii. Size
Describe the Cols attribute and Rows attribute of the
<TEXTAREA>tag.Write the HTML code to create the following form elements:

In the examination, Suparna has been asked to write the code for placing a drop-down list in the form area. She is also asked to indicate any one of the menu items as preselected. Help her in solving the problem.