Warning:
This wiki has been archived and is now read-only.

Elements/i

From HTML Wiki
Jump to: navigation, search

<i>

The <i> element represents an span oftext that offset from the normal prose.

Point

  • Some examples of cases:
    • voice
    • taxonomic designation
    • technical term
    • idiomatic phrase from another language
    • ... Some other prose whose typical typographic presentation is italicized.
  • Authors are encouraged to consider whether other elements might be more applicable than the i element, for instance the em element for marking up stress emphasis, or the dfn element to mark up the defining instance of a term.


HTML Attributes

See global attributes.


Examples

Example A

[try it]

<p>The term <i>prose content</i> is defined above.</p>

Example B

Terms in languages different from the main text should be annotated with lang attributes [try it]:

<p>This is the <i lang="ja">漢字<i>.</p>


HTML Reference

The HTML5 specification defines the <i> element in 4.6.16 The i element.