Baseline Widely other
dir
The dir global HTML attribute sets an element's text direction to left to right (ltr), right to left (rtl), or based on the content (auto). Elements generally inherit their parent's direction when the attribute is omitted.
Baseline Status
Widely Available
Since 2015-07-29
First Core Launch
Firefox 1
2004-11-09
Core-3 Stability
1,493d (4.1y)
Last: Chrome (2008-12-11)
BCD Keys Mapped
2
Group: other
Browser Support Timeline
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| Firefox | desktop | 1 | 2004-11-09 |
| Safari on iOS | mobile | 1 | 2007-06-29 |
| Safari | desktop | 3 | 2007-10-26 |
| Chrome | desktop | 1 | 2008-12-11 |
| Firefox for Android | mobile | 4 | 2011-03-29 |
| Chrome Android | mobile | 18 | 2012-06-27 |
| Edge | desktop | 12 | 2015-07-29 |
Constituent MDN BCD Keys (Sample)
| BCD Key | Area | Core-3 TTA |
|---|---|---|
| api.HTMLElement.dir | DOM API | 1,493d (4.1y) |
| html.global_attributes.dir | HTML | 1,493d (4.1y) |