/**
 * Set Span element italic style.
 *
 * @return self Returns instance of the Span element class.
 *
 * @access public
 */
public function italic(): self

Examples

Set italic style using fluent interface

use function Thermage\span;
use function Thermage\render;

// ...

render( 
  span('Stay RAD!')->italic()
);

Set italic style using magic classes pipeline

use function Thermage\span;
use function Thermage\render;

// ...

render( 
  span('Stay RAD!', 'italic')
);

Set italic style using shortcodes

use function Thermage\span;
use function Thermage\render;

// ...

render( 
  span('[italic]Stay RAD![/italic]').
  span('[i]Stay RAD![/i]')
);
Terminal
$ php thermage.php
Stay RAD!