切换布局
显示结果
<html> <head> <title>JavaScript String anchor() Method</title> </head> <body> <script type = "text/javascript"> var str = new String("Hello world"); document.write(str.anchor( "myanchor" )); </script> </body> </html>