Returns the HTML link element that links to a related document.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax public static string GetLink(
string url,
string type,
string rel,
string media,
string title
)
Parameters
- url
- Type: SystemString
URL pointing to external document - type
- Type: SystemString
(Optional) Specifies the MIME type of the linked document - rel
- Type: SystemString
(Optional) Relationship between the current document and the linked document - media
- Type: SystemString
(Optional) What device the linked document will be displayed on - title
- Type: SystemString
(Optional) Specifies extra information about an element
Return Value
Type:
StringHTML link to the related document
See Also