JavaScript String small()

❮ JavaScript String Reference

Example

let text = "Hello World!";
let result = text.small();
Try it Yourself »

Description

String small() is deprecated in JavaScript.

Avoid using it.

It may cease to work in your browser at any time.

The small() method returns a string embedded in a <small> tag:

<small>string</small>


Syntax

string.small()

Parameters

NONE

Return Value

A string embedded in a <small> tag.

❮ JavaScript String Reference
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.