当前位置: 首页 > 网络学院 > 网页制作基础教程 > Internet > 网络多媒体元素参考

Internet
w3c技术架构介绍

Internet 中的 网络多媒体元素参考


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 619 ::
收藏到网摘: n/a

The <bgsound> Element
<bgsound>元素

Attribute
属性
Function
函数
id A unique id for the element.
为时间定义一个独立的id
src The location (URL) of the source file.
指定源文件的地址(URL)
balance The balance. (-10000=left, +10000=right).
指定左右声道平衡度(-10000 = 左声道,+10000 = 右声道)
loop The number of loops. (-1=infinite).
指定循环次数(-1 = 无限循环)
volume The volume. (0=max, -10000=min).
指定音量(0 = 最大 , -10000 = 最小)

 


The <embed> Element
<embed>元素

Attribute
属性
Defines
定义
autostart Automatic start. (true | false).
指定是否自动开始 (属性值为 true / flase)
height The height of the element in pixels or %.
指定元素高度。单位:像素 或 %
hidden The visibility of the element. (true | false).
指定元素是否可视 (属性值为 true / flase)
src The location (URL) of the source file.
指定源文件的地址(URL)
width The width of the element in pixels or %.
指定元素宽度。单位:像素 或 %

See also styling attributes, common HTML attributes and Event attributes at the bottom of this page.
也可以参考styling [类型] 属性,通用 HTML属性 和 本页末尾的Event [事件]属性


The <applet> Element
<applet>事件

Attribute
属性
Defines
定义
alt An alternate text.
定义替换文本
archive The locations (URLs) of archive files.
指定当按文件的地址(URLs)
code The location (URL) of the applet code.
指定applet代码的地址(URL)
codebase The base location (default URL) for all files.
为所有文件指定基准地址(默认URL)
height The height of the applet in pixels or %.
指定元素高度。单位:像素 或 %
name The name of the applet.
指定applet 的名称
object A saved representation of the applet. Do not use.
指定applet 的保留陈述。尽量不要使用
width The width of the applet in pixels or %.
指定元素宽度。单位:像素 或 %

See also styling attributes, common HTML attributes and Event attributes at the bottom of this page.
也可以参考styling [类型] 属性,通用 HTML属性 和 本页末尾的Event [事件]属性。


The <object> Element
<object>元素

Attribute
属性
Defines
定义
archive The locations (URLs) of archive files.
指定archive文件的地址(URLs)
classid The location (URL) of the object.
指定对象的地址(URL)
codebase The base path used to resolve relative URIs specified by the classid, data, and archive attributes.
指定由classid、 data 和 archive 属性所制定的用于解决相对URIs的基准路径。
codetype The content type of the code.
指定代码的content [内容]类型
data The location (URL) of object data.
指定对象数据的地址(URL)
declare Do not instantiate (execute) the object.
不执行对象
height The height of the object in pixels or %.
指定元素高度。单位:像素 或 %
name The object's name.
指定对象名称
standby Text to display while object is loading.
当加载对象时,制定所显示的文本
tabindex The position in the tab order
指定在表格的显示位置
type The content type of the object.
指定对象的content [内容]类型
usemap The location (URL) of an image map.
指定图像映射的地址(URL)
width The width of the player in pixels or %.
指定元素宽度。单位:像素 或 %

See also styling attributes, common HTML attributes and Event attributes at the bottom of this page.
也可以参考styling [类型] 属性,通用 HTML属性 和 本页末尾的Event [事件]属性。


The <param> Element
<param>元素

The param element defines parameters to the object or applet elements.
param元素定义了对象或applet元素的参量。

Attribute
属性
Defines
定义
id A unique id for the element.
为元素指定一个独立的id
name Parameter name.
指定参量名称
type Parameter content type.
指定参量内容类型
value Parameter value.
指定参量值
valuetype Parameter value type.
指定参量值类型

 


Styling Attributes
类型参数

Note: These attributes are deprecated. Use styles instead.
注意:我们不赞成使用这类属性。可以使用类型参数代替它。

Attribute
属性
Defines
定义
align The alignment of the object.
指定对象的排列方式
border The border with in pixels.
指定边框宽度。单位:像素
hspace The horizontal white-space (margin) in pixels.
指定水平留白(边界)。单位:像素
vspace The vertical white-space (margin) in pixels.
指定垂直留白(边界)。单位:像素

 


Common HTML Attributes
通用HTML属性

Attribute
属性
Defines
定义
class The element's class.
指定元素的类
dir The directionality of the element.
指定元素的指向
id A unique id for the element.
为元素指定一个独立的id
lang The language used by the element.
指定元素所使用的语言
style The element's style.
指定元素的类型
title The elements title.
指定元素的标题

 


Standard Events
标准时间

Event
时间
Handles
处理方式
onclick mouse clicked
点击鼠标
ondblclick mouse double clicked
双击鼠标
onmousedown mouse button pressed down
按下鼠标按钮
onmouseup mouse button released
鼠标按钮释放
onmouseover cursor moved onto the element
指针移动至元素上方
onmousemove cursor moved within the element
指针移动至元素内部
onmouseout cursor moved away from the element
指定从元素上移开
onkeypressed key pressed and released over the element
在元素上方按下键盘键并释放
onkeydown key pressed down over the element
在元素上方按下键盘键
onkeyup key released over the element
在元素上方释放键盘键

评论 (0) All

登陆 | 还没注册?