<bdi> Tag Attributes

Attributes of the <bdi> tag
global attributes In addition to the personal attributes of the <bdi> tag below, any of the common HTML attributes can also be coded.
dir="auto" default
dir="ltr"
dir="rtl"
directionality

Unlike most elements, the dir attribute is not inherited from the parent element but defaults to auto instead.