Creates a <meta>
html tag.
meta($name, $content, $attr);
Parameter | Required | Default |
---|---|---|
$name | yes | null |
$content | yes | null |
$attr | no | null |
string
Usage:
echo meta('robots', 'index, follow');
Result:
<meta name="robots" content="index, follow">