HTML/CSS/Form Attributes/cols

Материал из Web эксперт
Перейти к: навигация, поиск

"cols" specifies the maximum number of characters that can fit on a single line

    
<HTML>
<BODY>
<textarea cols="10" rows="10">
This is a sample text containing more than the 10 characters specified.
</textarea>
<textarea cols="10" rows="10">1234567890</textarea>
</BODY>
</HTML>