亚洲国产日韩欧美一区二区三区,精品亚洲国产成人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ì)使用它。盡量避免使用。

HTML 純文本元素 (<plaintext>) 將起始標(biāo)簽后面的任何東西渲染為純文本,不會(huì)解釋為 HTML。它沒有閉合標(biāo)簽,因?yàn)槿魏魏竺娴臇|西都會(huì)看做純文本。

注:不要使用這個(gè)元素。

  • 它自從 HTML3.2 就廢棄了,并且所有瀏覽器也不會(huì)實(shí)現(xiàn)它。此外,它在 HTML5 中已過時(shí);仍然接受它的瀏覽器,可能將其看做 <pre> 元素,它仍然會(huì)解釋其中的 HTML,即使這不是你想要的結(jié)果。

  • 如果 <plaintext> 元素是頁面的第一個(gè)元素(除了任何不顯示的元素),那就不要使用 HTML 了。配置你的服務(wù)器,使用 text/plain MIME-type 來發(fā)送你的頁面。

  • 不要使用這個(gè)元素,你應(yīng)該使用 <pre> 元素,或者如果滿足語義的話,使用 <code> 元素。要確保轉(zhuǎn)義了任何 '<' 、' >' 和 "&" 字符,來避免將內(nèi)容解釋為 HTML。

  • 等寬字體也可以顯示在 <div> 元素中,通過使用足夠的 CSS 樣式,在 font-family 中將 monospace 用作通用字體(generic-font)的值。

屬性

除了 全局屬性 之外,這個(gè)元素沒有其它屬性。

DOM接口

元素實(shí)現(xiàn)了 HTMLElement 接口。

實(shí)現(xiàn)注解:直到 Gecko 1.9.2(包含),F(xiàn)irefox 為這個(gè)元素實(shí)現(xiàn)了 HTMLSpanElement 接口。

瀏覽器兼容性

Feature

Chrome

Edge

Firefox

Internet Explorer

Opera

Safari

Basic Support

No

No

No1

No

No

No

Feature

Android

Chrome for Android

Edge mobile

Firefox for Android

IE mobile

Opera Android

iOS Safari

Basic Support

No

No

No

No1

No

No

No

上一篇: 下一篇: