Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
5 results across 6 corpora for HTMLTextAreaElement: wrap property.
Dictionary 0
This corpus is unavailable: timeout
Papers 0
This corpus is unavailable: timeout
Developer library 5
` ` HTML textarea element
xtarea>` is specified between its opening and closing tags, not as a `value` attribute. - In JavaScript, `<textarea>` elements have a [`value`](/docs/Web/API/HTMLTextAreaElement/value) property that can be used to get or set the current content, and [`defaultValue`](/docs/Web/API/HTMLTextAreaElement/defaultValue) to get and set its initial value (equivalent to accessing the HTML element's text content). The `<text
HTMLTextAreaElement
HTML DOM The **`HTMLTextAreaElement`** interface provides properties and methods for manipulating the layout and presentation of textarea elements. ## Instance properties _Also inherits properties from its parent interface, HTMLElement._ - autocomplete - : A string that represents the element's [`autocomplete`](/docs/Web/HTML/Reference/Elements/textarea#autocomplete) attribute. - cols - : A number that repr
HTMLTextAreaElement: wrap property
HTML DOM The **`wrap`** property of the HTMLTextAreaElement interface indicates how the control should wrap the value for form submission. It reflects the `<textarea>` element's [`wrap`](/docs/Web/HTML/Reference/Elements/textarea#wrap) attribute. Note that the `"hard"` value only has an effect when the cols attribute is also set. ## Value See [`wrap`](/docs/Web/HTML/Reference/Elements/textarea#wrap) for the possib
HTMLTextAreaElement: cols property
HTML DOM The **`cols`** property of the HTMLTextAreaElement interface is a positive integer representing the visible width of the multi-line text control, in average character widths. It reflects the `<textarea>` element's [`cols`](/docs/Web/HTML/Reference/Elements/textarea#cols) attribute. ## Value A positive integer. Defaults to `20`. ## Examples ```js const textareaElement = document.getElementById("comment")
HTMLTextAreaElement: rows property
HTML DOM The **`rows`** property of the HTMLTextAreaElement interface is a positive integer representing the visible text lines of the text control. It reflects the `<textarea>` element's [`rows`](/docs/Web/HTML/Reference/Elements/textarea#rows) attribute. ## Value A positive integer. Defaults to `2`. ## Examples ```js const textareaElement = document.getElementById("comment"); const textLines = textArea.rows; t