Skip to content

Kirby 3.9.8

Html::rel()

Add noreferrer to rels when target is _blank

Html::rel(?string $rel = null, ?string $target = null): string|null

Parameters

Name Type Default Description
$rel string|null null Current rel value
$target string|null null Current target value

Return type

string|null

Parent class

Kirby\Cms\Html inherited from Kirby\Toolkit\Html