asp.net.ph

Skip Navigation LinksHome > Abakada: Back to Basics > Language References > HTML Element Attributes > DIRECTION Attribute

DIRECTION Attribute | direction Property


Sets or retrieves the reading order of the specified object.

Applies To:

Syntax

CSS { direction: [ ltr | rtl | inherit ] }
Script object.style.direction = sDirection ]

Possible Values

ltr The text flow is left-to-right.
rtl The text flow is right-to-left.
inherit The text flow value is inherited.

The property is read/write with a default value of ltr.

See Also

dir


Need a break ?
Suggested Reading

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph.

If you have any question, comment or suggestion,
please send us a note