---
id: "dirname"
kind: "web-feature"
canonical: "https://timetostable.com/feature/dirname"
baseline: "high"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# dirname (`dirname`)

The dirname attribute of <textarea> and <input> HTML elements includes the field's writing direction as form data on submission.

- **Group**: other
- **Baseline**: Widely Available
- **Newly Available Date**: 2023-08-01
- **Widely Available Date**: 2026-02-01
- **Specification**: https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-dirname
- **Constituent BCD keys**: 4

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Chrome | 17 | 2012-02-08 |
| Chrome Android | 18 | 2012-06-27 |
| Safari | 6 | 2012-07-25 |
| Safari on iOS | 6 | 2012-09-10 |
| Edge | 79 | 2020-01-15 |
| Firefox | 116 | 2023-08-01 |
| Firefox for Android | 116 | 2023-08-01 |

