String.prototype.big() is a legacy HTML wrapper that returns a new string wrapping your text in <big>…</big>. It takes no parameters and never mutates the original string.
Pass the required arguments shown below. Check return values and browser support before you rely on the result.
Syntax
Call string.big. Start with this line.
JavaScript
string.big()
Call
What it does
string.big()
Primary signature.
string.big(...)
Call with the arguments your case needs.
Built into JavaScript. Call big(...) on a string (or String instance) — no import required.
Library declarations
JavaScript
string.big()
Parameters
This member has no parameters beyond those shown in the signature.
Return Value
Return Value
Description
*
HTML string with <big> tags
JavaScript Examples
Example 1 — Basic Wrap
Call big() to build the classic <big> HTML string.
JavaScript
const text = "Hello, world";
console.log(text.big());
// "<big>Hello, world</big>"
Create a real element.createElement("span") makes a DOM node.
Set font size.style.fontSize = "larger" (or a CSS class) is the modern approach.
Rule of thumb. Learn big() to read old code; ship CSS for new UI.
Compatibility
Browser & Runtime Support
String.prototype.big() is still implemented widely for compatibility, but it is deprecated. Do not use it in new projects.
✓ Deprecated · Legacy
String.prototype.big()
Available in major browsers and Node.js for legacy compatibility. The <big> element itself is obsolete HTML.
LegacyCompatibility only
Google ChromeSupported · Desktop & Mobile
Full support
Mozilla FirefoxSupported · Desktop & Mobile
Full support
Apple SafariSupported · macOS & iOS
Full support
Microsoft EdgeSupported · Chromium
Full support
Internet ExplorerNo native support · Use a polyfill
Polyfill
OperaSupported · Modern versions
Full support
Samsung InternetSupported · Android
Full support
BunSupported · JavaScript runtime
Supported
DenoSupported · JavaScript runtime
Supported
Node.jsSupported · Server runtime
Supported
Android WebViewSupported · Modern WebView
Full support
big()Avoid in new code
Bottom line: Recognize big() when reading old code. For new UI, use CSS font-size (or a class) — never ship <big> markup from string methods.
Frequently Asked Questions
big() returns a new HTML string that wraps the text in a <big> element — for example "Hello".big() returns "<big>Hello</big>". It takes no parameters and does not change the original string.
Yes. MDN marks all HTML wrapper methods as deprecated. The <big> element was removed from the HTML specification. Prefer CSS font-size instead.
No. Strings are immutable. big() returns a new string containing markup; the original text stays the same.
Set CSS font-size on an element (for example element.style.fontSize = "larger" or a CSS class). Do not build <big> tags with string methods.
No. Characters like < and > are left as-is inside the wrapper. Never pass untrusted user input through big() into innerHTML.
It remains widely available for compatibility, but you should not use it in new code. Prefer CSS.