CBSE Class 10 Computer Applications Question 27 of 56

Forms and Frames — Question 6

Back to all questions
6
Question

Question 6

Describe the Cols attribute and Rows attribute of the <TEXTAREA> tag.

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>