Latest web development tutorials

JavaScript big () method

String Object Reference JavaScript String Object

Definition and Usage

big () method is used to display a string of large fonts.

This method returns a string plus <big> tag, as follows:

<Big> string </ big>

grammar

string.big()


Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support big () method.


Examples

Examples

Display the string in large print:

<script>

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

</script>

try it"


String Object Reference JavaScript String Object