THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

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

Create a Bdo Object

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

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

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