JavaScript big() 方法


定义和用法

big() 方法用于把字符串显示为大号字体。

  1. stringObject.big()

实例

在本例中,"Hello world!" 将被显示为大号字体:

  1. <html>
  2. <body>
  3. <script type="text/javascript">
  4. var str="Hello world!"
  5. document.write(str.big())
  6. </script>
  7. </body>
  8. </html>

分类导航