HTML <textarea> dirname eigenschap

Definition and Usage

dirname Attribute enables the submission of the text direction of the text area.

dirname The value of the attribute is always the name of the text area followed by ".dir".

Example

An HTML form where the text direction of the field will be submitted:

<form action="/action_page.php">
  Text:
  <textarea name="explanation" dirname="explanation.dir"></textarea>
  <input type="submit" value="Submit">
</form>

Try It Yourself

Syntax

<textarea name="myname" dirname="myname.dir"></textarea>

Attribute Value

Value Description
name.dir Specifies the text direction of the text field to be submitted.

Browser Support

The numbers in the table indicate the first browser version to fully support this property.

Chrome Edge Firefox Safari Opera
Chrome Edge Firefox Safari Opera
Supported 79.0 Not Supported Supported Supported