Name
DIR — NN n/a IE n/a HTML 4
Synopsis
DIR=”direction"
Optional
The direction of character rendering and table cell rendering for the
element. Character and cell rendering is either left-to-right or
right-to-left. This attribute is usually set in concert with the
LANG
attribute and must be used to specify a
character rendering direction that overrides the current direction.
Example
<TABLE LANG="ar" dir="rtl">SomeArabicTableCellItemsHere
</TABLE>
Value
ltr
|
rtl
(case insensitive).
Default
ltr
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.