What is HTML cols Attribute?

HTML, HTML Attributes , 0 Comments

The cols attribute indicates the visible width of a textarea.

Note: You can also set the height and width of <textarea> by using CSS

Tag Support

You can use cols attribute on <textarea> tag.

Example

<textarea rows="5" cols="60">
	At buginit.com you can learn basic to pro web development technologies.
</textarea>

Browser Support

Attribute
colsYesYesYesYesYes

Spread the love

Leave a Reply

avatar
  Subscribe  
Notify of