NOTICE: This website is no longer updated or supported - as such many of the techniques used to build it may seem antiquated in the modern day. It is preserved for historical reasons only.

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

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

Attributes Defined by Internet Explorer

contenteditable="inherit | false | true"
disabled="false | true" (5.5)
hidefocus="true | false"
language="javascript | jscript | vbs | vbscript | xml"
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


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


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


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 >