JavaScript big()Method

String 对象参考手册JavaScript String Object

Definition and Usage

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

This method returns the string wrapped in a <big> tag, as follows:

<big>string</big>

Syntax

string.big()


Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the big() method.


Examples

Examples

Display a string in a large font:

<script>

var str = "Hello world!";
document.write(str.big());

</script>

Try it yourself »


String 对象参考手册JavaScript String Object Other Extensions