Language Reference italics Method

                  


Description

Places the HTML <I> tag around the text in the object.

Syntax

strVariable.italics( )
"String Literal".italics( )

Remarks

Below is an example of the effects of the italics method:

var strVariable = "This is a string object"
strVariable.italics()

The value of strVariable after the last statement above is: <I>This is a string object</I>

No checking is done to see if the tag already exists in the object.