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

Firefox v1 (2004-11-09) Safari on iOS v1 (2007-06-29) Safari v3 (2007-10-26) Chrome v1 (2008-12-11) Firefox for Android v4 (2011-03-29) Chrome Android v18 (2012-06-27) Edge v12 (2015-07-29)
Green dot marks the first browser release (2004-11-09); blue dots show subsequent browser launches (+3914d total span).

Browser Support Releases

BrowserTypeVersionRelease 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 KeyAreaCore-3 TTA
api.HTMLElement.dir DOM API 1,493d (4.1y)
html.global_attributes.dir HTML 1,493d (4.1y)