Direction Attribute

HTML (DHTML)

Direction Attribute

Internet Development Index

Defines the direction of the text in the textbox. Read/write String.

Applies To

TextBox

Tag Syntax

<v: element style="direction:expression">

Remarks

Values include:

Value Description
ltr Text is displayed left-to-right. Default.
rtl Text is displayed right-to-left.
context Indicates that the MSO-Direction-Alt tag will be written out with the value "context".

Microsoft Office Extensions Attribute