Html::rel()
Add noopener & 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 |
Current |
$target |
string |
null |
Current |
Return type
string
|null
Inherited from
Kirby\Toolkit\Html