HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

dir

Description

The dir attribute for HTML specifies the element's text directionality.

Syntax

dir="value"
ValueDescription
autodirection is to be determined programmatically using the contents of the element
ltrleft-to-right
rtlright-to-left

Examples

1 · auto

2 · ltr

3 · rtl