Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 994 Bytes

a.md

File metadata and controls

42 lines (30 loc) · 994 Bytes

HAPEL Core Method Reference


<a ...>

Description

Creates a <a> html tag.

a($child, $href, $title, $class, $id, $style, $data, $attr);

Parameters

Parameter Required Default
$child no false
$href no null
$title no null
$class no null
$id no null
$style no null
$data no null
$attr no null

Return Values

string

Example

Usage:

echo a('click me', 'myFile.html','Click on Me', 'myClass');

Result:

<a href="myFile.html" class="myClass" title="Click on Me">Click Me</a>