MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See whistlepig.mozilla.org for all notifications.

mozilla

Revision 79172 of <i>

  • Revision slug: HTML/Element/i
  • Revision title: i
  • Revision id: 79172
  • Created:
  • Creator: Jscher2000
  • Is current revision? No
  • Comment /* HTML ''Italics'' Element */

Revision Content

HTML Italics Element

<i>...</i> - The HTML Italics element makes text italicized.

Example

   <p>
       This is the first sentence. <i>This whole sentence is in an italicized font.</i>
   </p>

Result

This is the first sentence. This whole sentence is in an italicized font.

Notes

Although this element was not deprecated in the HTML 4.01 specification, its use is discouraged in favor of the HTML Emphasis element (<em>) and style sheets.

See also

{{ HTML:Element_Navigation() }}

{{ languages( { "pl": "pl/HTML/Element/i" } ) }}

Revision Source

<h2 name="HTML_Italics_Element"> HTML <i>Italics</i> Element </h2>
<p><b>&lt;i&gt;...&lt;/i&gt;</b> - The HTML Italics element makes text italicized.
</p>
<h3 name="Example"> Example </h3>
<pre class="eval">   &lt;p&gt;
       This is the first sentence. &lt;i&gt;This whole sentence is in an italicized font.&lt;/i&gt;
   &lt;/p&gt;
</pre>
<h4 name="Result"> Result </h4> <p> This is the first sentence. <i>This whole sentence is in an italicized font.</i> </p>
<h3 name="Notes"> Notes </h3>
<p>Although this element was not deprecated in the HTML 4.01 specification, its use is discouraged in favor of the HTML Emphasis element (&lt;em&gt;) and style sheets.
</p>
<h3 name="See_also"> See also </h3>
<ul><li> <a href="en/HTML/Element/em">HTML Emphasis element</a>
</li><li> HTML 4.01 Specification: <a class="external" href="http://www.w3.org/TR/html4/present/graphics.html#h-15.2">Font Styles</a>
</li></ul>
<p>{{ HTML:Element_Navigation() }}
</p>{{ languages( { "pl": "pl/HTML/Element/i" } ) }}
Revert to this revision