JavaScript tutorial:
big method

 

Applies to: String Object

The big method places HTML <BIG> tags around text in a String object.

Syntax

strVariable.big( )
"String Literal".big( )

Return value

None

Example

The example that follows shows how the big method works:

<HTML>
<HEAD>
<SCRIPT language="javaScript" >
function bigTag()
{
var strVariable = "This is a big string";
strVariable = strVariable.big( );
return strVariable;
}
</SCRIPT>
</HEAD>
<P>See how it work in htm
<BODY>
<SCRIPT LANGUAGE= "JAVASCRIPT">
document.write(bigTag());
</SCRIPT>
</BODY>
</HTML>

To run the code, paste it into JavaScript Editor, save as htm file format and click the Show Internal View button.

See also: small method, String Object methods, String Object properties