The small() method is used to display a string in a small font.
The small() method is used to display a string in a small font.
This method returns the string embedded in the <small> tag, like this:
<small>string</small>
string.small()
None
A string embedded in the <small> tag
Display a string in a small font:
//display a string in a small font. var str = "Hello World!"; var result = str.small(); console.log(result);//w w w . j a v a 2s . co m