heading([$data = ''[, $h = '1'[, $attributes = '']]])
Parameters:
$data (string) – Content
$h (string) – Heading level
$attributes (mixed) – HTML attributes Returns:
HTML heading tag Return type:
string
Lets you create HTML heading tags. The first parameter will contain the data, the second the size of the heading. Example:
echo heading('Welcome!', 3);
The above would produce: <h3>Welcome!</h3>
Additionally, in order to add attributes to the heading tag such as HTML c