c:param html,param - HTML元素

定义

设置 APPLET、EMBED 或 OBJECT 元素的属性初始值。

Sets the initial value of a property for an APPLET, EMBED, or OBJECT element.

注释

PARAM 元素仅在 APPLET, EMBED 和 OBJECT 元素内有效。

注意 由 PARAM 元素设置的属性不可由 PARAM 对象变更。

在 APPLET, EMBED 或 OBJECT 元素实例创建完成后,由 PARAM 元素设置的属性无法用 param 对象更改。要更改对象的属性,请使用由对象引出的脚本属性。

此元素在 Internet Explorer 3.0 及以上版本的 HTML 中可用。

此元素不会改变显示。

此元素不需要关闭标签。

The PARAM element is valid within the APPLET, EMBED, and OBJECT elements.

Note  Properties set by a PARAM element cannot be altered by changing the PARAM object.

After the APPLET, EMBED, or OBJECT element is instantiated, the property set by the PARAM element cannot be changed with the param object. To change the object‘s properties, use the script properties exposed by the object.

This element is available in HTML as of Internet Explorer 3.0.

This element is not rendered.

This element does not require a closing tag.

示例代码

下面的例子显示了 Internet Explorer 数据绑定组件的 outerHTML,这样你就可以查看由 PARAM 元素指定的属性。执行这样的检查可以在调试 OBJECT 元素属性时收集信息。除非重新初始化 outerHTML 对象,否则无法编辑对象的 outerHTML 属性。

This example displays the Internet Explorer Data Binding component‘s outerHTML so you can view the properties assigned by the PARAM elements. You can perform this check to gather information when debugging an OBJECT element‘s properties. You cannot edit the object‘s outerHTML property without reintializing the outerHTML object.

// The OBJECT CLASSID below is for the

// Microsoft Internet Explorer Data Binding component

// Use just the following HTML and press the button

ID=tdcContents

CLASSID="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83">

Show Object outerHTML

//When the button is pressed the complete list of the object‘s

// PARAM elements display unformatted in the TEXTAREA as follows:

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值