Menu Samaritan's Purse

DIR

The dir attribute specifies the element's text directionality.

SYNTAX

dir="value"
VALUE DESCRIPTION
auto direction is to be determined programmatically using the contents of the element
ltr left-to-right
rtl right-to-left

EXAMPLES

AUTO

LTR

RTL

Web Hypertext Application Technology Working Group (WHATWG)

World Wide Web Consortium (W3C)