Html::email()
Generates an <a>
tag with mailto:
Parameters
Name | Type | Default | Description |
---|---|---|---|
$email * | string |
– | The email address |
$text | string |array |null |
null |
The optional text; if null , the email address will be used as text |
$attr | array |
[ ] |
Additional attributes for the tag |
Return type
string
Parent class
Kirby\Cms\Html
inherited from Kirby\Toolkit\Html