HTML/Elements/bdo

From Web Education Community Group
< HTML‎ | Elements
Revision as of 17:18, 22 November 2011 by Hiroki (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.