Class I<T extends I<T>>

Direct Known Subclasses:
Italic

public class I<T extends I<T>> extends PhrasingContentElement<T>
Java representation of the HTML <i> element.

The I class represents italic text, typically used for technical terms, foreign language phrases, or other text that needs stylistic offset. This is a text formatting element that renders content in italic font style.

Features:

  • Renders text in italic font style
  • Inline text formatting element
  • Commonly used for emphasis or stylistic offset

Usage:


 // Create italic text
 I italic = new I("Italic Text");

 // Add to container
 div.addElement(new I("emphasized"));
 
Since:
2007
Version:
1.0
Author:
Marvin P. Warble Jr.
See Also:
  • Constructor Details

    • I

      public I()
      Constructs an empty <i> element.
    • I

      public I(String text)
      Constructs an <i> element with the specified text content.
      Parameters:
      text - the text content to display in italic