Causes a string to be displayed as bold as if it were in a B tag.
String
bold()
Use the bold method with the Write methods to format and display a string in a document.
The following example uses string methods to change the formatting of a string:
var worldString="Hello, world" Console.Write(worldString.blink()) Console.Write("<P>" + worldString.bold()) Console.Write("<P>" + worldString.italics()) Console.Write("<P>" + worldString.strike())
The previous example produces the same output as the following HTML:
<BLINK>Hello, world</BLINK> <P><B>Hello, world</B> <P><I>Hello, world</I> <P><STRIKE>Hello, world</STRIKE>
String:blink, String:italics, String.strike