asp.net.ph

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

DIR Attribute | dir Property


Sets or retrieves the reading order of the specified object.

Syntax

Inline <element dir = ltr | rtl>
Script object.dir = ltr | rtl

Possible Values

ltr Text flow is left-to-right.
rtl Text flow is right-to-left.

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

See Also

direction



Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

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