HTMLInputElement: dirName property - Web APIs | MDN

Value

A string. The direction of the element.

Examples

js

inputElement.dirName = "rtl";

Specifications

Specification
HTML
# dom-input-dirname

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.