Javascript - String big() Method

The big() method displays a string in a big font. This method returns the string embedded in the <big> tag, like this:

Description

The big() method displays a string in a big font. This method returns the string embedded in the <big> tag, like this:

<big>string</big>

Syntax

string.big()

Parameters

None

Return

A string embedded in the <big> tag

Example

Display a string in a big font:

Demo

var str = "Hello World!";
var result = str.big();
console.log(result);

Result