JavaScript Objects The Strings Object- small() - Javascript Objects

What is JavaScript String - small() Method?

This method causes a string to be displayed in a small font, as if it were in a <small> tag.

Syntax

Its syntax is as follows −

Return Value

Returns the string with <small> tag.

Example

Try the following example.

Output

<small>Hello world</small>


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Javascript Objects Topics