JavaScript String fontsize()
JavaScript String fontsize()
The fontsize() method is used to return a string embedded in a < font > tag.
Syntax:-
Its syntax is:- string.fontsize(size)
Return:-
Its return is:- string embedded in a font tag
Further Explanation:-
Parameter | Description |
size | Required. Font size between 1 and 7. |