THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

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():

var x = document.getElementById("myStrong"); Try it

Create a Strong Object

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

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

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