亚洲国产日韩欧美一区二区三区,精品亚洲国产成人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

HTML元素<i>用于表現(xiàn)因某些原因需要區(qū)分普通文本的一系列文本。例如技術(shù)術(shù)語(yǔ)、外文短語(yǔ)或是小說(shuō)中人物的思想活動(dòng)等,它的內(nèi)容通常以斜體顯示。

內(nèi)容類別

流量?jī)?nèi)容,措辭內(nèi)容,可觸及的內(nèi)容。

允許的內(nèi)容

短語(yǔ)內(nèi)容。

標(biāo)記遺漏

沒(méi)有,起始和結(jié)束標(biāo)簽都是強(qiáng)制性的。

允許的父母

任何接受短語(yǔ)內(nèi)容的元素。

允許ARIA角色

任何

DOM界面

HTMLElement包括Gecko 1.9.2(Firefox 4),F(xiàn)irefox實(shí)現(xiàn)這個(gè)元素的HTMLSpanElement接口。

屬性

該元素只包含 全局屬性。

示例

<p>The Latin phrase <i class="latin">Veni, vidi, vici</i> is often
mentioned in music, art, and literature.</p>

輸出

在音樂(lè),藝術(shù)和文學(xué)中經(jīng)常提到拉丁文Veni, vidi和vici

注釋

在較早版本的HTML技術(shù)參數(shù)聲明中,  <i> 標(biāo)簽只是一個(gè)用于將文本顯示為斜體的表示性元素, 很像 <b>標(biāo)簽被用來(lái)將文本顯示為粗體。情況不再是這樣了,因?yàn)檫@些標(biāo)簽現(xiàn)在定義了更多的語(yǔ)義而不只是排版外觀。<i>標(biāo)簽應(yīng)表現(xiàn)一系列帶有不同語(yǔ)義的文本,它的典型樣式顯示為斜體。這意味著瀏覽器通常任會(huì)將內(nèi)容顯示為斜體,但是,通過(guò)定義,不再需要如此了。

該元素只在沒(méi)有更適合的語(yǔ)義元素表示時(shí)使用。例如:

  • 使用<em> 表示強(qiáng)調(diào)或重讀。

  • 使用 <strong> 表示重要性。

  • 使用 <mark> 表示相關(guān)性。

  • 使用<cite> 標(biāo)記著作名,如一本書(shū)、劇本或是一首歌。

  • 使用 <dfn> 標(biāo)記術(shù)語(yǔ)的定義實(shí)例。

使用class屬性用來(lái)識(shí)別為何使用該元素是一個(gè)很好的辦法,這樣的話,如果該表示以后需要改變,就可以有選擇性地改變樣式表。

規(guī)范

規(guī)范

狀態(tài)

評(píng)論

HTML生活標(biāo)準(zhǔn)該規(guī)范中'<i>'的定義。

生活水平


HTML5該規(guī)范中'<i>'的定義。

建議


HTML 4.01規(guī)范該規(guī)范中'<b>'的定義。

建議


瀏覽器兼容性

Feature

Chrome

Edge

Firefox

Internet Explorer

Opera

Safari

Basic Support

1

(Yes)

1

(Yes)

(Yes)

(Yes)

Feature

Android

Chrome for Android

Edge mobile

Firefox for Android

IE mobile

Opera Android

iOS Safari

Basic Support

(Yes)

(Yes)

(Yes)

1

(Yes)

(Yes)

(Yes)

Previous article: Next article: