Creates a <a> html tag.
a($child, $href, $title, $class, $id, $style, $data, $attr);| 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 |
string
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>