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

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

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

內容類別

流量內容,措辭內容,可觸及的內容。

允許的內容

短語內容。

標記遺漏

沒有,起始和結束標簽都是強制性的。

允許的父母

任何接受短語內容的元素。

允許ARIA角色

任何

DOM界面

HTMLElement包括Gecko 1.9.2(Firefox 4),Firefox實現這個元素的HTMLSpanElement接口。

屬性

該元素只包含 全局屬性。

示例

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

輸出

在音樂,藝術和文學中經常提到拉丁文Veni, vidi和vici

注釋

在較早版本的HTML技術參數聲明中,  <i> 標簽只是一個用于將文本顯示為斜體的表示性元素, 很像 <b>標簽被用來將文本顯示為粗體。情況不再是這樣了,因為這些標簽現在定義了更多的語義而不只是排版外觀。<i>標簽應表現一系列帶有不同語義的文本,它的典型樣式顯示為斜體。這意味著瀏覽器通常任會將內容顯示為斜體,但是,通過定義,不再需要如此了。

該元素只在沒有更適合的語義元素表示時使用。例如:

  • 使用<em> 表示強調或重讀。

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

  • 使用 <mark> 表示相關性。

  • 使用<cite> 標記著作名,如一本書、劇本或是一首歌。

  • 使用 <dfn> 標記術語的定義實例。

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

規(guī)范

規(guī)范

狀態(tài)

評論

HTML生活標準該規(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)

上一篇: 下一篇: