Latest

recent

JavaScript small() Method

Definition and Usage

The small() method is used to display a string in a small font.

Syntax

stringObject.small()


Example

In this example "Hello world!" will be displayed in a small font:

<script type="text/javascript">
var str="Hello world!";
document.write(str.small());
</script>
JavaScript small() Method Reviewed by 1000sourcecodes on 20:58 Rating: 5
Powered by Blogger.