(tel: …)
Embeds a linked telephone number
Attributes
In addition to the main tel
, option, the tag supports the following attributes:
class
rel
text
title
Attribute | Description | Default |
---|---|---|
class | The class which is added to link element | null |
rel | The rel attribute that is added to link element | null |
title | The title attribute that is added to link element | null |
text | The text that is added to link element | null |
Attribute defaults from config
You can customize the defaults of this tag's attributes via the kirbytext.tel
config option.
Examples
Telephone number without link text
(tel: +49123456789)
Telephone number with link text
(tel: +49123456789 text: call us)
Telephone number with a custom CSS class
(tel: +49123456789 class: phone)
Telephone number with a title
attribute
(tel: +49123456789 title: This is my phone number)
Telephone number with a rel
attribute
(tel: +49123456789 rel: me)