JavaScript small () method
Definition and Usage
small () method is used to display a string of small words.
This method returns a string plus <small> tag, as follows:
<Small> string </ small>
grammar
string.small()
Browser Support
All major browsers support small () method.
Examples
Examples
Use a small font size to display the string:
<script>
var str = "Hello world!";
document.write(str.small());
</script>
var str = "Hello world!";
document.write(str.small());
</script>
try it"
JavaScript String Object