HTML <textarea> 속성

❮ HTML <텍스트 영역> 태그

예시

지정된 높이와 너비의 텍스트 영역:

<textarea rows="4" cols="50">
At w3schools.com you will learn how to make a website. We offer free tutorials in all web development technologies.
</textarea>

정의 및 사용

rows속성은 텍스트 영역의 가시적 높이를 라인 단위로 지정합니다 .

참고: 텍스트 영역의 크기는 CSS 높이 및 너비 속성으로도 지정할 수 있습니다.


브라우저 지원

Attribute
rows Yes Yes Yes Yes Yes

통사론

<textarea rows="number">

속성 값

Value Description
number Specifies the height of the text area (in lines). Default value is 2

❮ HTML <텍스트 영역> 태그