HTML <textarea> d irname Atribut
Příklad
HTML formulář, do kterého bude odeslán směr textu pole:
<form action="/action_page.php">
Text:
<textarea name="explanation" dirname="explanation.dir"></textarea>
<input type="submit" value="Submit">
</form>
Definice a použití
Atribut dirname
umožňuje odeslání směru textu textové oblasti.
Hodnota dirname
atributu je vždy název textové oblasti následovaný ".dir".
Podpora prohlížeče
Čísla v tabulce určují první verzi prohlížeče, která tento atribut plně podporuje.
Attribute | |||||
---|---|---|---|---|---|
dirname | Yes | 79.0 | No | Yes | Yes |
Syntax
<textarea name="myname" dirname="myname.dir"></textarea>
Hodnoty atributů
Value | Description |
---|---|
name.dir | Specifies that the text direction of the textarea will be submitted. |
❮ HTML tag <input>