JavaScript big()Method
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
![]()
![]()
![]()
![]()
![]()
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>
var str = "Hello world!";
document.write(str.big());
</script>
Try it yourself »
JavaScript String Object Other Extensions