繁体中文
设为首页
加入收藏
当前位置:网站制作首页 >> VBScript教程 >> 如何使用 VBScript

如何使用 VBScript

2007-06-15 08:00:00  作者:  来源:互联网  浏览次数:0  文字大小:【】【】【
简介:Examples 实例 Write text How to write text on a page 如何在页面上写些文字 Write text with formatting How to format the text on your page with HTML tags 如何在页面上通过HTML标签格式化文字 How to Pu...
关键字:VBScript 如何

Examples

实例

Write text

How to write text on a page

如何在页面上写些文字

Write text with formatting

How to format the text on your page with HTML tags

如何在页面上通过HTML标签格式化文字

How to Put VBScript Code in an HTML Document

怎样将VBScript代码放进HTML文档里

And it produces this output:

上面的代码会产生如下结果:

Hello from VBScript!

To insert a script in an HTML document, use the

How to Handle Older Browsers

碰到老版本的浏览器怎样处理

Older browsers that do not support scripts will display the script as page content. To prevent them from doing this, you can use the HTML comment tag:

老版本的浏览器不会支持那些页面里的脚本。为了让这些脚本代码不会显示在页面上可以使用HTML的注释标签:

责任编辑:admin
相关文章