Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 671 Bytes

link.md

File metadata and controls

39 lines (26 loc) · 671 Bytes

HAPEL Core Method Reference


<link ...>

Description

Creates a <link> html tag.

link($rel, $href, $type, $attr);

Parameters

Parameter Required Default
$rel yes
$href yes
$type yes
$attr no null

Return Values

string

Example

Usage:

echo link('stylesheet', 'style.css');

Result:

<link rel="stylesheet" href="style.css" />