Creates a <area> html tag.
area($shape, $coords, $href, $rel, $alt, $attr);| Parameter | Required | Default |
|---|---|---|
| $shape | yes | null |
| $coords | yes | null |
| $href | res | null |
| $rel | no | null |
| $alt | no | null |
| $attr | no | null |
string
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"/>