Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

JavaScript small() Method

JavaScript small() Method

String Object Reference JavaScript String object


Definition and Usage

The small() method is used to display a string in a small font.

This method returns the string with an tag added, as shown below:

string

Syntax

string

.small()


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the small() method.


Example

Example

Use a small font to display the string:

Try it »


String Object Reference JavaScript String object