HTML DOM Strong Object

Strong Object

The Strong object represents an HTML <strong> element.

Access a Strong Object

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

Example

var x = document.getElementById(“myStrong”);

Try it Yourself »

Create a Strong Object

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

Example

var x = document.createElement(“STRONG”);

Try it Yourself »

Standard Properties and Events

The Anchor object also supports the standard properties and events.