(Slot migration)
Line 1: Line 1:
 +
===Name===
 +
textarea
 +
===Type===
 +
_input
 +
===Synopsis===
 +
How to render a textarea input field
 +
===Description===
 +
_input elements of type="textarea" create larger text input fields that let the user enter a text.
 +
This differs from original HTML5 as textarea is not part of an input field, but an input type on its own.
 +
It also differs from other _input fields as there is no value you can set. Instead you use an opening _input type and a closing one. The value will be in between. See example.
 +
===Parameters===
 +
type="textarea"
 +
 +
For all supported argument have a look at the link at the links section.
 +
===Example===
 
<syntaxhighlight lang="html">
 
<syntaxhighlight lang="html">
<_input type="textarea" name="Comment">...</_input>
+
<_input type="textarea" name="comment" placeholder="Type your comment" required="required">This is the text value</_input>
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
<_input type="textarea" name="comment" placeholder="Type your comment" required="required">This is the text value</_input>
 +
===Note===
 +
===Links===
 +
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea

Revision as of 15:14, 22 September 2022

Name

textarea

Type

_input

Synopsis

How to render a textarea input field

Description

_input elements of type="textarea" create larger text input fields that let the user enter a text. This differs from original HTML5 as textarea is not part of an input field, but an input type on its own. It also differs from other _input fields as there is no value you can set. Instead you use an opening _input type and a closing one. The value will be in between. See example.

Parameters

type="textarea"

For all supported argument have a look at the link at the links section.

Example

<_input type="textarea" name="comment" placeholder="Type your comment" required="required">This is the text value</_input>

Note

Links

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea