standard.settings.bold

getElement(id).settings.bold()

Makes any text in the element appear boldfaced.

Example:

[js highlight=”2″ try=”true”]
newText(“warnning”, “NOTE: this text is a warning!”)
.settings.bold()
.settings.italic()
.settings.color(“red”)
.print()
[/js]

Prints a text in boldface, italic and red.