JavaScript small() 方法

定义和用法
small() 方法用于把字符串显示为小号字。
该方法返回加了 <small> 标签的字符串, 如下所示:
<small>string</small>
语法
string.small()
浏览器支持
所有主要浏览器都支持 small() 方法。
实例
实例
使用小字号来显示字符串:
<script>
var str = "Hello world!";
document.write(str.small());
</script>
var str = "Hello world!";
document.write(str.small());
</script>
