THE BEST WEB DEVELOPER SITE

HTML DOM Bdo Object


Bdo Object

The Bdo object represents an HTML <bdo> element.

Access a Bdo Object

You can access a <bdo> element by using getElementById():

Example

var x = document.getElementById("myBdo");
Try it Yourself »

Create a Bdo Object

You can create a <bdo> element by using the document.createElement() method:

Example

var x = document.createElement("BDO");
Try it Yourself »

Bdo Object Properties

Property Description
dir Sets or returns the value of the dir attribute of a <bdo> element

Standard Properties and Events

The Bdo object supports the standard properties and events.


Related Pages

HTML reference: HTML <bdo> tag