Activity › Forums › Salesforce® Discussions › what is the use of dir attribute in salesforce? Salesforce® Discussions what is the use of dir attribute in salesforce? Posted by MOHIT on March 5, 2020 at 3:16 PM what is the use of dir attribute in salesforce? Deepak replied 6 years, 2 months ago 2 Members · 1 Reply 1 Reply Deepak Member March 6, 2020 at 1:31 PM Hi Mohit, The direction in which the generated HTML component should be read. Possible values include “RTL” (right to left) or “LTR” (left to right). Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me