Causes a string to be italic, as if it were in an I tag.
String
italics()
Use the italics method with the Write method 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(worldString.bold()) Console.Write(worldString.italics()) Console.Write(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:bold, String:strike