Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 886 Bytes

area.md

File metadata and controls

40 lines (28 loc) · 886 Bytes

HAPEL Core Method Reference


<areaa ...>

Description

Creates a <area> html tag.

area($shape, $coords, $href, $rel, $alt, $attr);

Parameters

Parameter Required Default
$shape yes null
$coords yes null
$href res null
$rel no null
$alt no null
$attr no null

Return Values

string

Example

Usage:

echo area('square', '10,40,50,40', 'link.html', 'nofollow', 'click me');

Result:

<area shape="square" coords="10,40,50,40" href="link.html" rel="nofollow" alt="Click me"/>