small

Causes a string to be displayed in a small font, as if it were in a SMALL tag.

Applies to

String

Syntax

small()

Parameters

None

Description

Use the small method with the Write method to format and display a string in a document.

Example

The following example uses string methods to change the size of a string:

var worldString="Hello, world"
Console.Write(worldString.small())
Console.Write("<P>" + worldString.big())
Console.Write("<P>" + worldString.fontsize(7))

The previous example produces the same output as the following HTML:

<SMALL>Hello, world</SMALL>
<P><BIG>Hello, world</BIG>
<P><FONTSIZE=7>Hello, world</FONTSIZE>

See also

String:big, String:fontsize