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

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

這是一個(gè)實(shí)驗(yàn)中的功能

此功能某些瀏覽器尚在開發(fā)中,請(qǐng)參考瀏覽器兼容性表格以得到在不同瀏覽器中適合使用的前綴。由于該功能對(duì)應(yīng)的標(biāo)準(zhǔn)文檔可能被重新修訂,所以在未來版本的瀏覽器中該功能的語法和行為可能隨之改變。

spellcheck全局屬性是枚舉屬性,定義是否可以檢查元素的拼寫錯(cuò)誤。它可以具有以下值:

  • true, 設(shè)置在可能的情況下會(huì)去檢查元素內(nèi)容的拼寫錯(cuò)誤;

  • false, 設(shè)置在可能的情況下關(guān)閉對(duì)元素內(nèi)容拼寫檢查.

如果沒有設(shè)置這個(gè)屬性,默認(rèn)值由元素自身類型和瀏覽器設(shè)置決定。默認(rèn)值也可以被繼承,當(dāng)有祖先元素的spellcheck 設(shè)置為true的情況下,子元素的默認(rèn)值也是true

你可以參考這篇文章的例子來使用這個(gè)屬性。

這個(gè)屬性是枚舉型而不是布爾類型. 這意味著顯式設(shè)置其中一個(gè)值true或false是強(qiáng)制性的,如果使用簡(jiǎn)寫<label spellcheck>Example Label</label> 是不行的。 正確的用法是<label spellcheck="true">Example Label</label>.

這個(gè)屬性僅僅是瀏覽器上的提示: 瀏覽器并不會(huì)強(qiáng)制去檢查拼寫錯(cuò)誤,通常不可編輯的元素是不會(huì)去檢查拼寫錯(cuò)誤的,就算它的spellcheck 屬性被設(shè)置為true而且瀏覽器支持拼寫檢查。

各個(gè)瀏覽器的默認(rèn)設(shè)置和元素依賴:

Browser

<html>

<textarea>

<input>

others

Comment

Firefox

false

false

false

inherited

When layout.spellcheckDefault is 0

false

true

inherited

inherited

When layout.spellcheckDefault is 1 (default value)


false

true

true

inherited

When layout.spellcheckDefault is 2


Seamonkey

false

false

false

inherited

When layout.spellcheckDefault is 0

false

true

inherited

inherited

When layout.spellcheckDefault is 1 (default value)


false

true

true

inherited

When layout.spellcheckDefault is 2


Camino

false

false

false

inherited

When layout.spellcheckDefault is 0

false

true

inherited

inherited

When layout.spellcheckDefault is 1


false

true

true

inherited

When layout.spellcheckDefault is 2 (default value)


Chrome

false

true

?

inherited


Internet Explorer

false

true

?

inherited


Opera

false

true

?

inherited


Safari

false

true

?

inherited


規(guī)范

規(guī)范

狀態(tài)

評(píng)論

HTML生活標(biāo)準(zhǔn)該規(guī)范中“拼寫檢查”的定義。

生活水平

最新的快照,HTML 5.1沒有變化

HTML 5.1該規(guī)范中“拼寫檢查”的定義。

建議

HTML Living Standard的快照,最初的定義

瀏覽器兼容性

Feature

Chrome

Firefox (Gecko)

Internet Explorer

Opera

Safari

Basic support

(Yes)

2.0 (1.8.1)

(Yes)

(Yes)

(Yes)

Feature

Android

Chrome for Android

Firefox Mobile (Gecko)

IE Mobile

Opera Mobile

Safari Mobile

Basic support

No support

?

1.0 (1.8.1)

?

?

?

Previous article: Next article: