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

Examples

Set underline style using fluent interface

use function Thermage\div;
use function Thermage\render;

// ...

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

Set underline style using magic classes pipeline

use function Thermage\div;
use function Thermage\render;

// ...

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

Set underline style using shortcodes

use function Thermage\div;
use function Thermage\render;

// ...

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