如何使用 JavaScript 建立大字型文字?
要建立大字型文字,請使用 JavaScript big() 方法。此方法使字串顯示成大字型,就像使用 BIG 標籤一樣。
示例
您可以嘗試執行以下程式碼來建立大字型文字 −
<html> <head> <title>JavaScript String big() Method</title> </head> <body> <script> var str = new String("Demo Text"); document.write("Following is bigger text: "+str.big()); </script> </body> </html>
廣告