亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

目錄 搜尋
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
文字

已廢棄

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

非標(biāo)準(zhǔn)

這個(gè)功能是非標(biāo)準(zhǔn)的,不在標(biāo)準(zhǔn)上。不要在面向Web的生產(chǎn)站點(diǎn)上使用它:它不適用于每個(gè)用戶。實(shí)現(xiàn)之間也可能存在大的不兼容性,并且行為在未來可能會(huì)改變。

HTML <image>元素是在時(shí)間的迷霧中丟失的古代HTML版本的過時(shí)殘余; 改用標(biāo)準(zhǔn)<img>元素。嚴(yán)重的是,規(guī)范甚至在描述這個(gè)元素時(shí)甚至使用了“不要問”這個(gè)詞。

不要使用這個(gè)!為了顯示圖像,使用標(biāo)準(zhǔn)<img>元素。

由于發(fā)生方式的多樣化,雖然瀏覽器會(huì)嘗試自動(dòng)將其轉(zhuǎn)換為<img>元素,但常常不這樣做,并且在嘗試時(shí)不會(huì)總是成功。所以如果你喜歡你的用戶就不要使用它。

規(guī)范

這可能曾經(jīng)是規(guī)范的一部分,但似乎沒有人記得。當(dāng)然不是了。只要避免它變得像瘟疫一樣。

瀏覽器兼容性

一般來說,瀏覽器會(huì)嘗試將其映射到<img>,但只有在src指定屬性時(shí)也是如此。創(chuàng)建一個(gè)<image>沒有src屬性的元素會(huì)導(dǎo)致一個(gè)HTMLElement具有本地元素名稱“image”的對(duì)象。但是,如果元素是使用src屬性創(chuàng)建的,則結(jié)果是an,HTMLImageElement而其本地元素名稱將更改為“img”。

但是,這并不意味著這是一個(gè)好主意。不是。

Feature

Chrome

Edge

Firefox (Gecko)

Internet Explorer

Opera

Safari

Basic support

?

?

(Yes)1

?

?

?

Feature

Android

Edge

Firefox Mobile (Gecko)

IE Mobile

Opera Mobile

Safari Mobile

Basic support

?

?

(Yes)1

?

?

?

上一篇: 下一篇: