Computer Applications
Describe the Cols attribute and Rows attribute of the <TEXTAREA>
tag.
HTML Advanced Features
8 Likes
Answer
Rows attribute of the <TEXTAREA>
tag defines the height of the textarea and Cols attribute of the <TEXTAREA>
tag defines the width of the text area.
Consider the following example,
<HTML>
<HEAD>
<TITLE>Using text area</TITLE>
</HEAD>
<BODY>
<FORM>
Remarks : <TEXTAREA ROWS = "6" COLS = "50" NAME = "REMARKS">
Enter your remarks here. </TEXTAREA>
</FORM>
</BODY>
</HTML>
Answered By
6 Likes