HTML DOM Bdo Object

Bdo Object

The Bdo object represents an HTML <bdo> element.

Access a Bold Object

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


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

Create a Bdo Object

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


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

Bdo Object Properties

Property 説明
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