dirname
Newly available since 2023-08-01
The dirname
attribute of <textarea>
and <input>
HTML elements includes the field's writing direction as form data on submission.
To learn more, see
<input>: The HTML Input element at MDN.
Compatibility
- Chrome 17 Released on 2012-02-08
- Chrome Android 18 Released on 2012-06-27
- Edge 79 Released on 2020-01-15
- Firefox 116 Released on 2023-08-01
- Firefox for Android 116 Released on 2023-08-01
- Safari 6 Released on 2012-07-25
- Safari on iOS 6 Released on 2012-09-10
Specifications
- HTML Standard (#attr-fe-dirname), from HTML Workstream (WHATWG).