cols

object cols extends Attr

pre - Contains the <em>preferred</em> count of characters that a line should have. It was a non-standard synonym of <code><a href="/en-US/docs/Web/HTML/Element/pre#attr-width">width</a></code>. To achieve such an effect, use CSS <a title="The width property specifies the width of an element. By default, the property defines the width of the content area. If box-sizing is set to border-box, it instead determines the width of the border area." href="/en-US/docs/Web/CSS/width"><code>width</code></a> instead. textarea - The visible width of the text control, in average character widths. If it is specified, it must be a positive integer. If it is not specified, the default value is <code>20</code> (HTML5).

trait Attr
class Object
trait Matchable
class Any

Type members

Classlikes

object tag extends TagElement

Types

Inherited types

type supports[T <: Tag] = AttrPair[attrType] => AttrPair[tagType]
Inherited from
Attr

Value members

Concrete methods

@inline
def :=(v: String): AttrPair[_cols_attr]
@inline
def :=(v: Option[String]): OptionalAttrPair[_cols_attr]