HTML/Elements/bdo

From Web Education Community Group
< HTML‎ | Elements
Jump to: navigation, search

<bdo>

The <bdo> element represent explicit text directionality formatting control for its children.

Point

  • It allows authors to override the Unicode bidirectional algorithm by explicitly specifying a direction override.
  • Authors must specify the dir attribute on this element, with the value ltr to specify a left-to-right override and with the value rtl to specify a right-to-left override.


HTML Attributes

See global attributes.

Also, the dir attribute has special semantics on this element.


HTML Reference

The HTML5 specification defines the <bdo> element in 4.6.22 The bdo element.