当前位置: 首页 > 网络学院 > 网页制作基础教程 > HTML > HTML <applet>标签

HTML
HTML 介绍
HTML 元素
HTML 基本标签
HTML 格式
HTML 实体字符
HTML 链接
HTML 框架
HTML 表格
HTML 列表
HTML 表单
HTML 图片
HTML 背景
HTML 颜色
HTML 颜色值
HTML 颜色名
HTML 便条
HTML 布局
HTML 字体
HTML 4.0
HTML 样式

HTML <applet>标签


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

Definition and Usage
用法

Defines an embedded applet.
定义嵌入的applet程序


Differences Between HTML and XHTML
它在HTML和XHTML中的区别

The applet element was deprecated in HTML 4.01.
applet在HTML4.01中不被推荐

The applet element is not supported in XHTML 1.0 Strict DTD.
在XHTML1.0的严密型DTD中applet元素已经不被支持。


Tips and Notes
注意点

Note: To include applets, use the object element if possible (as the <applet> tag is not supported in XHTML 1.0 Strict DTD).
要加入applet程序,请使用object元素(因为<applet>标签在XHTML1.0严密型DTD中已经不被支持了)


Required Attributes
必加的属性

DTD indicates in which DTD the attribute is allowed. S=Strict, T=Transitional, and F=Frameset.
下表中的DTD列指明了被支持的DTD属性。S=Strict(精确的),T=Transitional(传统的),F=Frameset(框架)

属性 描述 DTD
height pixels Defines the height of the applet
定义applet的高
TF
width pixels Defines the width of the object
定义object的宽
TF

Optional Attributes
可选属性

属性 描述 DTD
align left
right
top
bottom
middle
baseline
texttop
absmiddle
absbottom
Defines the text alignment around the applet
定义在applet周围文字的对齐
TF
alt text An alternate text to be displayed if the browser support applets but cannot run this applet
为那些不支持applet的浏览器加上替换文字
TF
archive URL A URL to the applet when it is stored in a Java Archive or ZIP file
当它存放在java档案或是zip文件中时为applet指向的URL
TF
code URL A URL that points to the class of the applet
指向applet类的URL
TF
codebase URL Indicates the base URL of the applet if the code attribute is relative TF
hspace pixels Defines the horizontal spacing around the applet
定义水平间隙
TF
name unique_name Defines a unique name for the applet (to use in scripts)
在script中为applet定义唯一的name
TF
object name Defines the name of the resource that contains a serialized representation of the applet TF
title text Additional information to be displayed in tool tip
在工具提示上加上额外的信息
TF
vspace pixels Defines the vertical spacing around the applet
定义垂直间隙
TF

Standard Attributes
标准属性

id, class, title, style, dir, lang, xml:lang

For a full description, go to Standard Attributes.
查看完整描述

Event Attributes
事件属性

accesskey, tabindex, onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup

For a full description, go to Event Attributes.
查看完整描述

评论 (0) All

登陆 | 还没注册?