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

Examples

Set underline style using fluent interface

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

// ...

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

Set underline style using magic classes pipeline

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

// ...

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

Set underline style using shortcodes

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

// ...

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