国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

directory search
Attributes accesskey (attribute) class (attribute) contenteditable (attribute) contextmenu (attribute) data-* (attribute) dir (attribute) draggable (attribute) dropzone (attribute) Global attributes hidden (attribute) id (attribute) itemid (attribute) itemprop (attribute) itemref (attribute) itemscope (attribute) itemtype (attribute) lang (attribute) slot (attribute) spellcheck (attribute) style (attribute) tabindex (attribute) title (attribute) translate (attribute) Elements a abbr address area article aside audio b base bdi bdo blockquote body br button canvas caption cite code col colgroup data datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 head header hr html i iframe img input input type="button" input type="checkbox" input type="color" input type="date" input type="datetime"-local input type="email" input type="file" input type="hidden" input type="image" input type="month" input type="number" input type="password" input type="radio" input type="range" input type="reset" input type="search" input type="submit" input type="tel" input type="text" input type="time" input type="url" input type="week" ins kbd label legend li link main map mark menu menuitem meta meter nav noscript object ol optgroup option output p param picture pre progress q rp rt rtc ruby s samp script section select slot small source span strong style sub summary sup table tbody td template textarea tfoot th thead time title tr track u ul var video wbr Miscellaneous Attributes Block-level elements CORS enabled image CORS settings attributes Element Inline elements Kinds of HTML content Link types Microdata Optimizing your pages for speculative parsing Preloading content Reference Supported media formats Using the application cache Obsolete acronym applet basefont big blink center command content dir element font frame frameset hgroup image input type="datetime" isindex keygen listing marquee nextid noframes plaintext strike tt xmp
characters

已廢棄

此功能已過時(shí)。雖然它可能在某些瀏覽器中仍然有效,但由于可以在任何時(shí)候刪除它,所以不鼓勵(lì)使用它。盡量避免使用它。

HTML中的Applet元素(<applet>) 標(biāo)志著包含了Java的applet。


注解: 這個(gè)元素在HTML5中已經(jīng)廢棄了,不能再被使用。網(wǎng)頁(yè)開發(fā)者應(yīng)該使用更為通用的元素。

屬性(Attributes)

align該屬性被用來(lái)定義網(wǎng)頁(yè)上applet相對(duì)于周圍內(nèi)容的對(duì)齊方式。HTML4.01規(guī)范定義了bottom, left, middle, right和 top的值,而Microsoft(微軟)和Netscaple(網(wǎng)景)也可能支持absbottomabsmiddlebaselinecentertexttop。

alt該屬性造成在不支持Java的瀏覽器上顯示出一段替代的描述性文字。 頁(yè)面設(shè)計(jì)者應(yīng)該記住在<applet>元素中封閉的內(nèi)容也可以呈現(xiàn)為替代性文本。

archive該屬性涉及到applet的存檔或壓縮版本及其相關(guān)類文件,這可能會(huì)減少下載時(shí)間。

code該屬性指定被加載和執(zhí)行的applet類文件的URL。Applet文件名由一個(gè).class文件擴(kuò)展名定義。由code指定的URL可能與codebase屬性有關(guān)。

codebase該屬性給出絕對(duì)或相對(duì)的,由code屬性引用的applet的.class文件儲(chǔ)存的目錄的URL。datafld該屬性支持Internet Explorer4及更高的版本,指定提供邊界數(shù)據(jù)的數(shù)據(jù)源對(duì)象的列名。該屬性可以用來(lái)指定各種傳遞到Java的<param>元素。

datasrc就像datafld,該屬性被用于Internet Explorer 4版本以下的數(shù)據(jù)綁定(data binding)。它指明了數(shù)據(jù)源對(duì)象的id,這個(gè)數(shù)據(jù)對(duì)象提供了被與applet有關(guān)的元素約束的數(shù)據(jù)。

height該屬性提供了applet所需的高度,以像素為單位。

hspace該屬性指定了保存在applet兩側(cè)的額外橫向空間,以像素為單位。

mayscript在Netscape中,該屬性允許使用在文檔中嵌入的腳本語(yǔ)言程序訪問applet。

name該屬性為applet分配一個(gè)名稱,以便它可以被其他資源識(shí)別,尤其是腳本語(yǔ)言。

object該屬性指定一個(gè)序列化表示的applet的URL。

src為Internet Explorer 4 及更高版本制定, 該屬性為applet相關(guān)文件指定一個(gè)URL。 該定義及使用是不明確的,也不屬于HTML標(biāo)準(zhǔn)。

vspace該屬性指定了保存在applet以上或以下的額外垂直空間,以像素為單位。width該屬性指定了applet所需的寬度,以像素為單位。

示例

<applet code="game.class" align="left" archive="game.zip" height="250" width="350">  
    <param name="difficulty" value="easy">  
    <b>Sorry, you need Java to play this game.</b>
</applet>

瀏覽器兼容性

Feature

Chrome

Edge

Firefox

Internet Explorer

Opera

Safari

Basic Support

No

No

No1

(Yes)

No

No

Feature

Android

Chrome for Android

Edge mobile

Firefox for Android

IE mobile

Opera Android

iOS Safari

Basic Support

No

No

No

No1

(Yes)

No

No

Notes

The W3C specification does not encourage the use of <applet> and prefers the use of the <object> tag. Under the strict definition of HTML 4.01, this element is deprecated and entirely obsolete in HTML5.

Previous article: Next article: