HTML XHTML The Complete Reference
home » reference » appendix a » html element reference

<bdo> (Bidirectional Override)


This element is used to override the current directionality of text.

Standard Syntax


<bdo>
class="class name(s)"
dir="ltr | rtl"
id="unique alphanumeric identifier"
lang="language code"
style="style information"
title="advisory text">
</bdo>

Attributes Defined by Internet Explorer


accesskey="key"
contenteditable="inherit | false | true"
disabled="false | true" (5.5)
hidefocus="true | false"
language="javascript | jscript | vbs | vbscript | xml"
tabindex="number"
unselectable="off | on"

Standard Events


onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup

Events Defined by Internet Explorer


onactivate, onafterupdate, onbeforeactivate, onbeforecopy, onbeforecut, onbeforedeactivate, onbeforeeditfocus, onbeforepaste, onbeforeupdate, onblur, oncellchange, oncontextmenu, oncontrolselect, oncopy, oncut, ondeactivate, ondrag, ondragend, ondragenter, ondragleave, ondragover, ondragstart, ondrop, onerrorupdate, onfilterchange, onfocus, onfocusin, onfocusout, onhelp, onlosecapture, onmouseenter, onmouseleave, onmousewheel, onmove, onmoveend, onmovestart, onpaste, onpropertychange, onreadystatechange, onresizeend, onresizestart, onscroll, onselectstart

Example


<!-- Switch text direction -->
<bdo dir="rtl">
This text will go right to left if you can
find a browser that supports this element.
</bdo>

Compatibility


HTML 4, 4.01, XHTML 1.0, 1.1
Internet Explorer 5, 5.5, 6
Netscape 6, 7
Opera 7

Notes


The HTML 4 specification did not specify events for this element; they were added in XHTML. This is most likely an oversight.

(X)HTML Elements
CSS Properties
Previous: basefont Next: bgsound
< Home | About | Chapters | Examples | Errata | Reference | Site Map >