Latest web development tutorials
 

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 Strong object supports the standard properties and events.


Related Pages

HTML tutorial: HTML Text Formatting Elements

HTML reference: HTML <strong> tag

JavaScript reference: HTML DOM Bold Object